home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 May / macformat_103_may_2001.iso / Demos / REALbasic® 3 / REALbasic 3 / REALbasic 3.rsrc / OnRf_128 < prev    next >
Unknown  |  2001-01-31  |  577.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0c 00 15 49 6e 74 72 6f | 64 75 63 74 69 6f 6e 3a |...Intro|duction:|
|00000010| 4f 76 65 72 76 69 65 77 | 01 00 0c 49 6e 74 72 6f |Overview|...Intro|
|00000020| 64 75 63 74 69 6f 6e 03 | 01 67 54 68 65 20 4f 6e |duction.|.gThe On|
|00000030| 6c 69 6e 65 20 52 65 66 | 65 72 65 6e 63 65 20 67 |line Ref|erence g|
|00000040| 69 76 65 73 20 79 6f 75 | 20 66 61 73 74 20 61 63 |ives you| fast ac|
|00000050| 63 65 73 73 20 74 6f 20 | 69 6e 66 6f 72 6d 61 74 |cess to |informat|
|00000060| 69 6f 6e 20 61 62 6f 75 | 74 20 61 6c 6c 20 74 68 |ion abou|t all th|
|00000070| 65 20 52 45 41 4c 62 61 | 73 69 63 20 6c 61 6e 67 |e REALba|sic lang|
|00000080| 75 61 67 65 20 65 6c 65 | 6d 65 6e 74 73 3a 20 6f |uage ele|ments: o|
|00000090| 62 6a 65 63 74 73 2c 20 | 6b 65 79 77 6f 72 64 73 |bjects, |keywords|
|000000a0| 2c 20 6f 70 65 72 61 74 | 6f 72 73 2c 20 63 6f 6e |, operat|ors, con|
|000000b0| 73 74 61 6e 74 73 2c 20 | 65 72 72 6f 72 20 6d 65 |stants, |error me|
|000000c0| 73 73 61 67 65 73 2c 20 | 72 75 6e 74 69 6d 65 20 |ssages, |runtime |
|000000d0| 65 78 63 65 70 74 69 6f | 6e 73 2c 20 62 75 69 6c |exceptio|ns, buil|
|000000e0| 74 2d 69 6e 20 6d 65 74 | 68 6f 64 73 20 61 6e 64 |t-in met|hods and|
|000000f0| 20 66 75 6e 63 74 69 6f | 6e 73 2c 20 61 6e 64 20 | functio|ns, and |
|00000100| 73 6f 20 66 6f 72 74 68 | 2e 20 57 68 65 72 65 76 |so forth|. Wherev|
|00000110| 65 72 20 61 70 70 6c 69 | 63 61 62 6c 65 2c 20 74 |er appli|cable, t|
|00000120| 68 65 20 70 72 6f 70 65 | 72 74 69 65 73 20 61 6e |he prope|rties an|
|00000130| 64 20 6d 65 74 68 6f 64 | 73 20 62 65 6c 6f 6e 67 |d method|s belong|
|00000140| 69 6e 67 20 74 6f 20 61 | 6e 20 6f 62 6a 65 63 74 |ing to a|n object|
|00000150| 20 61 72 65 20 64 6f 63 | 75 6d 65 6e 74 65 64 2c | are doc|umented,|
|00000160| 20 61 6c 6f 6e 67 20 77 | 69 74 68 20 63 72 6f 73 | along w|ith cros|
|00000170| 73 2d 72 65 66 65 72 65 | 6e 63 65 73 20 74 6f 20 |s-refere|nces to |
|00000180| 72 65 6c 61 74 65 64 20 | 6f 62 6a 65 63 74 73 2e |related |objects.|
|00000190| 20 03 00 cb 54 68 65 72 | 65 20 69 73 20 61 6c 73 | ...Ther|e is als|
|000001a0| 6f 20 61 20 74 75 74 6f | 72 69 61 6c 20 61 6e 64 |o a tuto|rial and|
|000001b0| 20 44 65 76 65 6c 6f 70 | 65 72 d5 73 20 47 75 69 | Develop|er.s Gui|
|000001c0| 64 65 20 77 68 69 63 68 | 20 77 69 6c 6c 20 74 65 |de which| will te|
|000001d0| 61 63 68 20 61 6e 64 20 | 65 78 70 6c 61 69 6e 20 |ach and |explain |
|000001e0| 52 45 41 4c 62 61 73 69 | 63 20 70 72 6f 67 72 61 |REALbasi|c progra|
|000001f0| 6d 6d 69 6e 67 20 63 6f | 6e 63 65 70 74 73 2e 20 |mming co|ncepts. |
|00000200| 59 6f 75 72 20 63 6f 6d | 6d 65 6e 74 73 20 28 62 |Your com|ments (b|
|00000210| 6f 74 68 20 66 61 76 6f | 72 61 62 6c 65 20 61 6e |oth favo|rable an|
|00000220| 64 20 75 6e 66 61 76 6f | 72 61 62 6c 65 29 20 61 |d unfavo|rable) a|
|00000230| 72 65 20 77 65 6c 63 6f | 6d 65 2e 20 53 65 6e 64 |re welco|me. Send|
|00000240| 20 74 68 65 6d 20 74 6f | 20 64 6f 63 73 40 72 65 | them to| docs@re|
|00000250| 61 6c 73 6f 66 74 77 61 | 72 65 2e 63 6f 6d 2e 0c |alsoftwa|re.com..|
|00000260| 00 11 49 6e 74 72 6f 64 | 75 63 74 69 6f 6e 3a 48 |..Introd|uction:H|
|00000270| 65 6c 70 01 00 1f 48 6f | 77 20 74 6f 20 55 73 65 |elp...Ho|w to Use|
|00000280| 20 74 68 65 20 4f 6e 6c | 69 6e 65 20 52 65 66 65 | the Onl|ine Refe|
|00000290| 72 65 6e 63 65 03 00 c2 | 54 68 65 20 4f 6e 6c 69 |rence...|The Onli|
|000002a0| 6e 65 20 52 65 66 65 72 | 65 6e 63 65 20 63 6f 6e |ne Refer|ence con|
|000002b0| 74 61 69 6e 73 20 74 68 | 65 20 74 65 78 74 20 6f |tains th|e text o|
|000002c0| 66 20 74 68 65 20 70 75 | 62 6c 69 73 68 65 64 20 |f the pu|blished |
|000002d0| 52 45 41 4c 62 61 73 69 | 63 20 4c 61 6e 67 75 61 |REALbasi|c Langua|
|000002e0| 67 65 20 52 65 66 65 72 | 65 6e 63 65 2e 20 41 6c |ge Refer|ence. Al|
|000002f0| 6c 20 6d 61 69 6e 20 65 | 6e 74 72 69 65 73 20 69 |l main e|ntries i|
|00000300| 6e 20 74 68 65 20 70 75 | 62 6c 69 73 68 65 64 20 |n the pu|blished |
|00000310| 72 65 66 65 72 65 6e 63 | 65 20 61 72 65 20 6c 69 |referenc|e are li|
|00000320| 73 74 65 64 20 69 6e 20 | 74 68 65 20 42 72 6f 77 |sted in |the Brow|
|00000330| 73 65 72 20 70 61 6e 65 | 6c 20 6f 6e 20 74 68 65 |ser pane|l on the|
|00000340| 20 6c 65 66 74 20 73 69 | 64 65 20 6f 66 20 74 68 | left si|de of th|
|00000350| 65 20 77 69 6e 64 6f 77 | 2e 20 03 01 99 59 6f 75 |e window|. ...You|
|00000360| 20 63 61 6e 20 63 68 6f | 6f 73 65 20 74 6f 20 76 | can cho|ose to v|
|00000370| 69 65 77 20 74 68 69 73 | 20 6c 69 73 74 20 65 69 |iew this| list ei|
|00000380| 74 68 65 72 20 61 6c 70 | 68 61 62 65 74 69 63 61 |ther alp|habetica|
|00000390| 6c 6c 79 20 28 63 6f 72 | 72 65 73 70 6f 6e 64 69 |lly (cor|respondi|
|000003a0| 6e 67 20 74 6f 20 74 68 | 65 20 41 6c 70 68 61 62 |ng to th|e Alphab|
|000003b0| 65 74 69 63 61 6c 20 43 | 6f 6d 6d 61 6e 64 20 4c |etical C|ommand L|
|000003c0| 69 73 74 20 69 6e 20 74 | 68 65 20 70 75 62 6c 69 |ist in t|he publi|
|000003d0| 73 68 65 64 20 4c 61 6e | 67 75 61 67 65 20 52 65 |shed Lan|guage Re|
|000003e0| 66 65 72 65 6e 63 65 29 | 20 6f 72 20 62 79 20 54 |ference)| or by T|
|000003f0| 68 65 6d 65 20 28 63 6f | 72 72 65 73 70 6f 6e 64 |heme (co|rrespond|
|00000400| 69 6e 67 20 74 6f 20 74 | 68 65 20 43 6f 6d 6d 61 |ing to t|he Comma|
|00000410| 6e 64 73 20 62 79 20 54 | 68 65 6d 65 20 49 6e 64 |nds by T|heme Ind|
|00000420| 65 78 20 69 6e 20 74 68 | 65 20 70 75 62 6c 69 73 |ex in th|e publis|
|00000430| 68 65 64 20 4c 61 6e 67 | 75 61 67 65 20 52 65 66 |hed Lang|uage Ref|
|00000440| 65 72 65 6e 63 65 2e 29 | 20 43 6c 69 63 6b 20 65 |erence.)| Click e|
|00000450| 69 74 68 65 72 20 74 68 | 65 20 41 6c 70 68 61 20 |ither th|e Alpha |
|00000460| 6f 72 20 54 68 65 6d 65 | 20 62 75 74 74 6f 6e 20 |or Theme| button |
|00000470| 74 6f 20 73 65 6c 65 63 | 74 20 61 20 74 79 70 65 |to selec|t a type|
|00000480| 20 6f 66 20 6c 69 73 74 | 2e 20 57 68 65 6e 20 77 | of list|. When w|
|00000490| 6f 72 6b 69 6e 67 20 77 | 69 74 68 20 74 68 65 20 |orking w|ith the |
|000004a0| 54 68 65 6d 65 20 6c 69 | 73 74 69 6e 67 2c 20 75 |Theme li|sting, u|
|000004b0| 73 65 20 74 68 65 20 61 | 72 72 6f 77 73 20 74 6f |se the a|rrows to|
|000004c0| 20 65 78 70 61 6e 64 20 | 6f 72 20 63 6f 6c 6c 61 | expand |or colla|
|000004d0| 70 73 65 20 74 68 65 20 | 6c 61 6e 67 75 61 67 65 |pse the |language|
|000004e0| 20 65 6c 65 6d 65 6e 74 | 73 20 69 6e 20 61 20 54 | element|s in a T|
|000004f0| 68 65 6d 65 2e 20 03 00 | ca 49 6e 20 65 69 74 68 |heme. ..|.In eith|
|00000500| 65 72 20 63 61 73 65 2c | 20 79 6f 75 20 64 69 73 |er case,| you dis|
|00000510| 70 6c 61 79 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |play the| documen|
|00000520| 74 61 74 69 6f 6e 20 66 | 6f 72 20 61 6e 20 69 74 |tation f|or an it|
|00000530| 65 6d 20 62 79 20 63 6c | 69 63 6b 69 6e 67 20 6f |em by cl|icking o|
|00000540| 6e 20 69 74 73 20 6e 61 | 6d 65 20 69 6e 20 74 68 |n its na|me in th|
|00000550| 65 20 42 72 6f 77 73 65 | 72 2e 20 55 73 65 20 74 |e Browse|r. Use t|
|00000560| 68 65 20 41 72 72 6f 77 | 73 20 69 6e 20 74 68 65 |he Arrow|s in the|
|00000570| 20 68 65 61 64 65 72 20 | 61 72 65 61 20 74 6f 20 | header |area to |
|00000580| 6d 6f 76 65 20 62 61 63 | 6b 77 61 72 64 20 61 6e |move bac|kward an|
|00000590| 64 20 66 6f 72 77 61 72 | 64 20 74 68 72 6f 75 67 |d forwar|d throug|
|000005a0| 68 20 74 68 65 20 69 74 | 65 6d 73 20 79 6f 75 20 |h the it|ems you |
|000005b0| 68 61 76 65 20 62 65 65 | 6e 20 62 72 6f 77 73 69 |have bee|n browsi|
|000005c0| 6e 67 2e 02 00 1e 53 65 | 61 72 63 68 69 6e 67 20 |ng....Se|arching |
|000005d0| 74 68 65 20 4f 6e 6c 69 | 6e 65 20 52 65 66 65 72 |the Onli|ne Refer|
|000005e0| 65 6e 63 65 03 00 4f 55 | 73 65 20 74 68 65 20 65 |ence..OU|se the e|
|000005f0| 6e 74 72 79 20 61 72 65 | 61 20 69 6e 20 74 68 65 |ntry are|a in the|
|00000600| 20 48 65 61 64 65 72 20 | 6f 66 20 74 68 65 20 77 | Header |of the w|
|00000610| 69 6e 64 6f 77 20 74 6f | 20 73 65 61 72 63 68 20 |indow to| search |
|00000620| 74 68 65 20 4f 6e 6c 69 | 6e 65 20 52 65 66 65 72 |the Onli|ne Refer|
|00000630| 65 6e 63 65 2e 20 03 00 | 7d 54 6f 20 73 65 61 72 |ence. ..|}To sear|
|00000640| 63 68 20 66 6f 72 20 61 | 20 52 45 41 4c 62 61 73 |ch for a| REALbas|
|00000650| 69 63 20 6c 61 6e 67 75 | 61 67 65 20 6f 62 6a 65 |ic langu|age obje|
|00000660| 63 74 20 28 69 2e 65 2e | 2c 20 61 6e 20 69 74 65 |ct (i.e.|, an ite|
|00000670| 6d 20 6c 69 73 74 65 64 | 20 69 6e 20 74 68 65 20 |m listed| in the |
|00000680| 42 72 6f 77 73 65 72 29 | 2c 20 73 69 6d 70 6c 79 |Browser)|, simply|
|00000690| 20 62 65 67 69 6e 20 74 | 79 70 69 6e 67 20 74 68 | begin t|yping th|
|000006a0| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 6f 62 |e name o|f the ob|
|000006b0| 6a 65 63 74 2e 20 03 01 | 5c 41 73 20 79 6f 75 20 |ject. ..|\As you |
|000006c0| 74 79 70 65 2c 20 52 45 | 41 4c 62 61 73 69 63 20 |type, RE|ALbasic |
|000006d0| 74 72 69 65 73 20 74 6f | 20 67 75 65 73 73 20 74 |tries to| guess t|
|000006e0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 6f |he name |of the o|
|000006f0| 62 6a 65 63 74 2e 20 49 | 66 20 69 74 20 68 61 73 |bject. I|f it has|
|00000700| 20 6f 6e 65 20 67 75 65 | 73 73 2c 20 74 68 65 20 | one gue|ss, the |
|00000710| 67 75 65 73 73 20 61 70 | 70 65 61 72 73 20 69 6e |guess ap|pears in|
|00000720| 20 67 72 61 79 20 74 65 | 78 74 2e 20 54 6f 20 61 | gray te|xt. To a|
|00000730| 63 63 65 70 74 20 74 68 | 65 20 67 75 65 73 73 2c |ccept th|e guess,|
|00000740| 20 70 72 65 73 73 20 74 | 68 65 20 54 61 62 20 6b | press t|he Tab k|
|00000750| 65 79 2e 20 49 66 20 69 | 74 20 68 61 73 20 73 65 |ey. If i|t has se|
|00000760| 76 65 72 61 6c 20 67 75 | 65 73 73 65 73 2c 20 74 |veral gu|esses, t|
|00000770| 68 72 65 65 20 64 6f 74 | 73 20 61 70 70 65 61 72 |hree dot|s appear|
|00000780| 2e 20 50 72 65 73 73 20 | 54 61 62 20 61 6e 64 20 |. Press |Tab and |
|00000790| 61 20 70 6f 70 2d 75 70 | 20 6d 65 6e 75 20 6f 66 |a pop-up| menu of|
|000007a0| 20 63 68 6f 69 63 65 73 | 20 61 70 70 65 61 72 73 | choices| appears|
|000007b0| 2e 20 55 73 65 20 74 68 | 65 20 75 70 20 61 6e 64 |. Use th|e up and|
|000007c0| 20 64 6f 77 6e 20 61 72 | 72 6f 77 20 6b 65 79 73 | down ar|row keys|
|000007d0| 20 74 6f 20 68 69 67 68 | 6c 69 67 68 74 20 74 68 | to high|light th|
|000007e0| 65 20 64 65 73 69 72 65 | 64 20 69 74 65 6d 20 61 |e desire|d item a|
|000007f0| 6e 64 20 70 72 65 73 73 | 20 54 61 62 20 6f 72 20 |nd press| Tab or |
|00000800| 52 65 74 75 72 6e 20 74 | 6f 20 73 65 6c 65 63 74 |Return t|o select|
|00000810| 20 69 74 2e 20 03 00 f7 | 43 6c 69 63 6b 20 53 65 | it. ...|Click Se|
|00000820| 61 72 63 68 20 6f 72 20 | 70 72 65 73 73 20 74 68 |arch or |press th|
|00000830| 65 20 52 65 74 75 72 6e | 20 6b 65 79 20 74 6f 20 |e Return| key to |
|00000840| 64 6f 20 74 68 65 20 73 | 65 61 72 63 68 2e 20 54 |do the s|earch. T|
|00000850| 68 65 20 4f 6e 6c 69 6e | 65 20 52 65 66 65 72 65 |he Onlin|e Refere|
|00000860| 6e 63 65 20 64 69 73 70 | 6c 61 79 73 20 74 68 65 |nce disp|lays the|
|00000870| 20 70 61 67 65 20 69 6e | 20 74 68 65 20 54 65 78 | page in| the Tex|
|00000880| 74 20 70 61 6e 65 6c 2e | 20 49 66 20 74 68 65 20 |t panel.| If the |
|00000890| 69 74 65 6d 20 69 73 20 | 6c 69 73 74 65 64 20 69 |item is |listed i|
|000008a0| 6e 20 74 68 65 20 42 72 | 6f 77 73 65 72 2c 20 69 |n the Br|owser, i|
|000008b0| 74 20 69 73 20 68 69 67 | 68 6c 69 67 68 74 65 64 |t is hig|hlighted|
|000008c0| 2e 20 49 66 20 6f 6e 6c | 79 20 74 68 65 20 74 68 |. If onl|y the th|
|000008d0| 65 6d 65 73 20 61 72 65 | 20 76 69 73 69 62 6c 65 |emes are| visible|
|000008e0| 2c 20 74 68 65 20 74 68 | 65 6d 65 20 63 6f 6e 74 |, the th|eme cont|
|000008f0| 61 69 6e 69 6e 67 20 74 | 68 65 20 69 74 65 6d 20 |aining t|he item |
|00000900| 69 73 20 68 69 67 68 6c | 69 67 68 74 65 64 2e 03 |is highl|ighted..|
|00000910| 01 44 49 66 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |.DIf you| want to|
|00000920| 20 73 65 61 72 63 68 20 | 66 6f 72 20 61 20 74 65 | search |for a te|
|00000930| 72 6d 20 74 68 61 74 20 | 69 73 20 6e 6f 74 20 74 |rm that |is not t|
|00000940| 68 65 20 6e 61 6d 65 20 | 6f 66 20 61 6e 20 69 74 |he name |of an it|
|00000950| 65 6d 20 69 6e 20 74 68 | 65 20 4f 6e 6c 69 6e 65 |em in th|e Online|
|00000960| 20 52 65 66 65 72 65 6e | 63 65 2c 20 65 6e 74 65 | Referen|ce, ente|
|00000970| 72 20 74 68 65 20 74 65 | 72 6d 20 61 6e 64 20 63 |r the te|rm and c|
|00000980| 6c 69 63 6b 20 53 65 61 | 72 63 68 20 6f 72 20 70 |lick Sea|rch or p|
|00000990| 72 65 73 73 20 74 68 65 | 20 52 65 74 75 72 6e 20 |ress the| Return |
|000009a0| 6b 65 79 20 74 6f 20 64 | 6f 20 74 68 65 20 73 65 |key to d|o the se|
|000009b0| 61 72 63 68 2e 20 54 68 | 65 20 73 65 61 72 63 68 |arch. Th|e search|
|000009c0| 20 69 73 20 63 61 73 65 | 2d 69 6e 73 65 6e 73 69 | is case|-insensi|
|000009d0| 74 69 76 65 2e 20 54 68 | 65 20 4f 6e 6c 69 6e 65 |tive. Th|e Online|
|000009e0| 20 52 65 66 65 72 65 6e | 63 65 20 6c 69 73 74 73 | Referen|ce lists|
|000009f0| 20 61 6c 6c 20 69 74 65 | 6d 73 20 69 6e 20 77 68 | all ite|ms in wh|
|00000a00| 69 63 68 20 74 68 65 20 | 74 65 72 6d 20 77 61 73 |ich the |term was|
|00000a10| 20 66 6f 75 6e 64 20 69 | 6e 20 74 68 65 20 42 72 | found i|n the Br|
|00000a20| 6f 77 73 65 72 20 70 61 | 6e 65 6c 2e 20 43 6c 69 |owser pa|nel. Cli|
|00000a30| 63 6b 20 74 68 65 20 64 | 65 73 69 72 65 64 20 69 |ck the d|esired i|
|00000a40| 74 65 6d 20 74 6f 20 76 | 69 65 77 20 74 68 61 74 |tem to v|iew that|
|00000a50| 20 70 61 67 65 2e 03 00 | 3c 4e 6f 74 65 3a 20 54 | page...|<Note: T|
|00000a60| 68 65 20 73 65 61 72 63 | 68 20 65 6e 67 69 6e 65 |he searc|h engine|
|00000a70| 20 64 6f 65 73 20 6e 6f | 74 20 68 61 6e 64 6c 65 | does no|t handle|
|00000a80| 20 6d 75 6c 74 69 2d 77 | 6f 72 64 20 73 65 61 72 | multi-w|ord sear|
|00000a90| 63 68 65 73 2e 03 00 f2 | 49 66 20 52 45 41 4c 62 |ches....|If REALb|
|00000aa0| 61 73 69 63 20 63 6f 75 | 6c 64 20 6e 6f 74 20 66 |asic cou|ld not f|
|00000ab0| 69 6e 64 20 74 68 65 20 | 74 65 72 6d 2c 20 d2 53 |ind the |term, .S|
|00000ac0| 65 61 72 63 68 20 46 61 | 69 6c 65 64 d3 20 61 70 |earch Fa|iled. ap|
|00000ad0| 70 65 61 72 73 20 69 6e | 20 74 68 65 20 42 72 6f |pears in| the Bro|
|00000ae0| 77 73 65 72 20 70 61 6e | 65 6c 2e 20 54 68 65 20 |wser pan|el. The |
|00000af0| 48 6f 6d 65 20 62 75 74 | 74 6f 6e 20 69 6e 20 74 |Home but|ton in t|
|00000b00| 68 65 20 68 65 61 64 65 | 72 20 61 72 65 61 20 72 |he heade|r area r|
|00000b10| 65 73 74 6f 72 65 73 20 | 74 68 65 20 42 72 6f 77 |estores |the Brow|
|00000b20| 73 65 72 20 70 61 6e 65 | 6c 20 74 6f 20 69 74 73 |ser pane|l to its|
|00000b30| 20 6f 72 69 67 69 6e 61 | 6c 20 73 74 61 74 65 20 | origina|l state |
|00000b40| 61 6e 64 20 64 69 73 70 | 6c 61 79 73 20 74 68 65 |and disp|lays the|
|00000b50| 20 49 6e 74 72 6f 64 75 | 63 74 69 6f 6e 20 74 6f | Introdu|ction to|
|00000b60| 20 74 68 65 20 4c 61 6e | 67 75 61 67 65 20 52 65 | the Lan|guage Re|
|00000b70| 66 65 72 65 6e 63 65 20 | 69 6e 20 74 68 65 20 6d |ference |in the m|
|00000b80| 61 69 6e 20 70 61 6e 65 | 6c 2e 03 01 74 49 6e 20 |ain pane|l...tIn |
|00000b90| 50 72 65 66 65 72 65 6e | 63 65 73 2c 20 79 6f 75 |Preferen|ces, you|
|00000ba0| 20 63 61 6e 20 65 6c 65 | 63 74 20 74 6f 20 63 68 | can ele|ct to ch|
|00000bb0| 61 6e 67 65 20 74 68 65 | 20 53 65 61 72 63 68 20 |ange the| Search |
|00000bc0| 62 75 74 74 6f 6e 20 74 | 6f 20 d2 47 6f d3 2e 20 |button t|o .Go.. |
|00000bd0| 57 68 65 6e 20 79 6f 75 | 20 63 6c 69 63 6b 20 d2 |When you| click .|
|00000be0| 47 6f d3 2c 20 74 68 65 | 20 4f 6e 6c 69 6e 65 20 |Go., the| Online |
|00000bf0| 52 65 66 65 72 65 6e 63 | 65 20 74 72 69 65 73 20 |Referenc|e tries |
|00000c00| 74 6f 20 66 69 6e 64 20 | 74 68 65 20 6c 61 6e 67 |to find |the lang|
|00000c10| 75 61 67 65 20 6f 62 6a | 65 63 74 20 79 6f 75 20 |uage obj|ect you |
|00000c20| 61 72 65 20 73 65 61 72 | 63 68 69 6e 67 20 66 6f |are sear|ching fo|
|00000c30| 72 2e 20 49 66 20 79 6f | 75 20 61 72 65 20 6e 6f |r. If yo|u are no|
|00000c40| 74 20 6c 6f 6f 6b 69 6e | 67 20 66 6f 72 20 61 20 |t lookin|g for a |
|00000c50| 6c 61 6e 67 75 61 67 65 | 20 6f 62 6a 65 63 74 2c |language| object,|
|00000c60| 20 68 6f 6c 64 20 64 6f | 77 6e 20 74 68 65 20 4f | hold do|wn the O|
|00000c70| 70 74 69 6f 6e 20 6b 65 | 79 20 61 6e 64 20 47 6f |ption ke|y and Go|
|00000c80| 20 63 68 61 6e 67 65 73 | 20 62 61 63 6b 20 74 6f | changes| back to|
|00000c90| 20 53 65 61 72 63 68 2e | 20 54 68 65 20 4f 6e 6c | Search.| The Onl|
|00000ca0| 69 6e 65 20 52 65 66 65 | 72 65 6e 63 65 20 74 68 |ine Refe|rence th|
|00000cb0| 65 6e 20 74 72 69 65 73 | 20 74 6f 20 66 69 6e 64 |en tries| to find|
|00000cc0| 20 61 6c 6c 20 6c 61 6e | 67 75 61 67 65 20 6f 62 | all lan|guage ob|
|00000cd0| 6a 65 63 74 20 74 68 61 | 74 20 63 6f 6e 74 61 69 |ject tha|t contai|
|00000ce0| 6e 20 74 68 65 20 74 65 | 72 6d 20 79 6f 75 20 61 |n the te|rm you a|
|00000cf0| 72 65 20 73 65 61 72 63 | 68 69 6e 67 20 66 6f 72 |re searc|hing for|
|00000d00| 2e 03 00 85 50 72 65 73 | 73 69 6e 67 20 74 68 65 |....Pres|sing the|
|00000d10| 20 47 6f 20 62 75 74 74 | 6f 6e 20 61 66 74 65 72 | Go butt|on after|
|00000d20| 20 61 20 73 75 63 63 65 | 73 73 66 75 6c 20 73 65 | a succe|ssful se|
|00000d30| 61 72 63 68 20 66 6f 72 | 20 61 6e 20 69 74 65 6d |arch for| an item|
|00000d40| 20 74 68 61 74 20 69 73 | 20 6e 6f 74 20 69 6e 20 | that is| not in |
|00000d50| 74 68 65 20 73 65 61 72 | 63 68 20 6c 69 73 74 20 |the sear|ch list |
|00000d60| 77 69 6c 6c 20 64 69 73 | 70 6c 61 79 20 74 68 65 |will dis|play the|
|00000d70| 20 69 74 65 6d 20 69 6e | 20 74 68 65 20 54 68 65 | item in| the The|
|00000d80| 6d 65 73 20 6c 69 73 74 | 2e 03 00 67 59 6f 75 20 |mes list|...gYou |
|00000d90| 63 61 6e 20 61 6c 73 6f | 20 72 65 73 74 6f 72 65 |can also| restore|
|00000da0| 20 74 68 65 20 42 72 6f | 77 73 65 72 20 74 6f 20 | the Bro|wser to |
|00000db0| 74 68 65 20 73 74 61 6e | 64 61 72 64 20 64 69 73 |the stan|dard dis|
|00000dc0| 70 6c 61 79 20 62 79 20 | 63 6c 69 63 6b 69 6e 67 |play by |clicking|
|00000dd0| 20 65 69 74 68 65 72 20 | 74 68 65 20 41 6c 70 68 | either |the Alph|
|00000de0| 61 20 6f 72 20 54 68 65 | 6d 65 20 68 65 61 64 65 |a or The|me heade|
|00000df0| 72 73 2e 0c 00 18 49 6e | 74 72 6f 64 75 63 74 69 |rs....In|troducti|
|00000e00| 6f 6e 3a 43 6f 6e 76 65 | 6e 74 69 6f 6e 73 01 00 |on:Conve|ntions..|
|00000e10| 0b 43 6f 6e 76 65 6e 74 | 69 6f 6e 73 03 00 80 50 |.Convent|ions...P|
|00000e20| 72 6f 70 65 72 74 79 20 | 6e 61 6d 65 73 20 69 6e |roperty |names in|
|00000e30| 20 62 6f 6c 64 20 61 72 | 65 20 72 65 61 64 2d 6f | bold ar|e read-o|
|00000e40| 6e 6c 79 20 61 74 20 72 | 75 6e 74 69 6d 65 2e 20 |nly at r|untime. |
|00000e50| 54 68 69 73 20 6d 65 61 | 6e 73 20 74 68 61 74 20 |This mea|ns that |
|00000e60| 79 6f 75 72 20 63 6f 64 | 65 20 63 61 6e 20 72 65 |your cod|e can re|
|00000e70| 61 64 20 74 68 65 69 72 | 20 76 61 6c 75 65 73 20 |ad their| values |
|00000e80| 62 75 74 20 63 61 6e 6e | 6f 74 20 63 68 61 6e 67 |but cann|ot chang|
|00000e90| 65 20 74 68 65 69 72 20 | 76 61 6c 75 65 73 2e 03 |e their |values..|
|00000ea0| 00 49 4f 70 74 69 6f 6e | 61 6c 20 50 61 72 61 6d |.IOption|al Param|
|00000eb0| 65 74 65 72 73 20 69 6e | 20 73 79 6e 74 61 78 20 |eters in| syntax |
|00000ec0| 73 74 61 74 65 6d 65 6e | 74 73 20 61 72 65 20 73 |statemen|ts are s|
|00000ed0| 75 72 72 6f 75 6e 64 65 | 64 20 62 79 20 62 72 61 |urrounde|d by bra|
|00000ee0| 63 6b 65 74 73 2d 20 5b | 20 5d 2e 03 00 7f 49 74 |ckets- [| ]....It|
|00000ef0| 65 6d 73 20 69 6e 20 03 | 62 6c 75 65 20 75 6e 64 |ems in .|blue und|
|00000f00| 65 72 6c 69 6e 65 04 20 | 28 69 6e 20 74 68 65 20 |erline. |(in the |
|00000f10| 6f 6e 6c 69 6e 65 20 76 | 65 72 73 69 6f 6e 20 6f |online v|ersion o|
|00000f20| 66 20 74 68 65 20 4c 61 | 6e 67 75 61 67 65 20 52 |f the La|nguage R|
|00000f30| 65 66 65 72 65 6e 63 65 | 29 20 61 72 65 20 68 79 |eference|) are hy|
|00000f40| 70 65 72 74 65 78 74 20 | 6c 69 6e 6b 73 20 74 6f |pertext |links to|
|00000f50| 20 6f 74 68 65 72 20 70 | 61 72 74 73 20 6f 66 20 | other p|arts of |
|00000f60| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 2e 03 00 7c |the docu|ment...||
|00000f70| 49 6e 20 73 6f 6d 65 20 | 63 61 73 65 73 2c 20 63 |In some |cases, c|
|00000f80| 6f 64 65 20 74 68 61 74 | 20 69 73 20 69 72 72 65 |ode that| is irre|
|00000f90| 6c 65 76 61 6e 74 20 74 | 6f 20 74 68 65 20 65 78 |levant t|o the ex|
|00000fa0| 61 6d 70 6c 65 20 69 73 | 20 6f 6d 69 74 74 65 64 |ample is| omitted|
|00000fb0| 20 66 6f 72 20 73 61 6b | 65 20 6f 66 20 63 6c 61 | for sak|e of cla|
|00000fc0| 72 69 74 79 2e 20 4f 6d | 69 74 74 65 64 20 63 6f |rity. Om|itted co|
|00000fd0| 64 65 20 69 73 20 69 6e | 64 69 63 61 74 65 64 20 |de is in|dicated |
|00000fe0| 62 79 20 62 75 6c 6c 65 | 74 73 2e 20 03 02 e7 43 |by bulle|ts. ...C|
|00000ff0| 6f 64 65 20 65 78 61 6d | 70 6c 65 73 20 69 6e 20 |ode exam|ples in |
|00001000| 74 68 65 20 4f 6e 6c 69 | 6e 65 20 52 65 66 65 72 |the Onli|ne Refer|
|00001010| 65 6e 63 65 20 61 72 65 | 20 73 75 72 72 6f 75 6e |ence are| surroun|
|00001020| 64 65 64 20 62 79 20 61 | 20 67 72 61 79 20 72 65 |ded by a| gray re|
|00001030| 63 74 61 6e 67 6c 65 2e | 20 59 6f 75 20 63 61 6e |ctangle.| You can|
|00001040| 20 64 72 61 67 20 61 6e | 79 20 63 6f 64 65 20 65 | drag an|y code e|
|00001050| 78 61 6d 70 6c 65 20 69 | 6e 74 6f 20 79 6f 75 72 |xample i|nto your|
|00001060| 20 43 6f 64 65 20 45 64 | 69 74 6f 72 20 61 6e 64 | Code Ed|itor and|
|00001070| 20 74 72 79 20 69 74 20 | 6f 75 74 2e 20 54 68 65 | try it |out. The|
|00001080| 20 63 6f 64 65 20 65 78 | 61 6d 70 6c 65 73 20 77 | code ex|amples w|
|00001090| 6f 72 6b 20 61 73 20 73 | 68 6f 77 6e 20 69 6e 20 |ork as s|hown in |
|000010a0| 74 68 65 20 4f 6e 6c 69 | 6e 65 20 52 65 66 65 72 |the Onli|ne Refer|
|000010b0| 65 6e 63 65 20 77 69 74 | 68 20 74 77 6f 20 65 78 |ence wit|h two ex|
|000010c0| 63 65 70 74 69 6f 6e 73 | 3a 20 49 6e 20 61 20 66 |ceptions|: In a f|
|000010d0| 65 77 20 63 61 73 65 73 | 2c 20 74 68 65 20 53 75 |ew cases|, the Su|
|000010e0| 62 20 6f 72 20 46 75 6e | 63 74 69 6f 6e 20 64 65 |b or Fun|ction de|
|000010f0| 63 6c 61 72 61 74 69 6f | 6e 20 6c 69 6e 65 20 69 |claratio|n line i|
|00001100| 73 20 69 6e 63 6c 75 64 | 65 64 20 69 6e 20 74 68 |s includ|ed in th|
|00001110| 65 20 63 6f 64 65 20 65 | 78 61 6d 70 6c 65 20 62 |e code e|xample b|
|00001120| 65 63 61 75 73 65 20 76 | 61 72 69 61 62 6c 65 73 |ecause v|ariables|
|00001130| 20 74 68 61 74 20 61 72 | 65 20 69 6e 63 6c 75 64 | that ar|e includ|
|00001140| 65 64 20 69 6e 20 74 68 | 65 20 65 78 61 6d 70 6c |ed in th|e exampl|
|00001150| 65 20 61 72 65 20 64 65 | 63 6c 61 72 65 64 20 69 |e are de|clared i|
|00001160| 6e 20 74 68 69 73 20 6c | 69 6e 65 20 72 61 74 68 |n this l|ine rath|
|00001170| 65 72 20 74 68 61 6e 20 | 76 69 61 20 0e 44 69 6d |er than |via .Dim|
|00001180| 0f 03 44 69 6d 04 20 73 | 74 61 74 65 6d 65 6e 74 |..Dim. s|tatement|
|00001190| 73 20 77 69 74 68 69 6e | 20 74 68 65 20 6d 65 74 |s within| the met|
|000011a0| 68 6f 64 2e 20 57 68 65 | 6e 20 79 6f 75 20 64 72 |hod. Whe|n you dr|
|000011b0| 61 67 20 73 75 63 68 20 | 61 6e 20 65 78 61 6d 70 |ag such |an examp|
|000011c0| 6c 65 20 69 6e 74 6f 20 | 79 6f 75 72 20 43 6f 64 |le into |your Cod|
|000011d0| 65 20 45 64 69 74 6f 72 | 2c 20 79 6f 75 20 6d 75 |e Editor|, you mu|
|000011e0| 73 74 20 64 65 6c 65 74 | 65 20 74 68 65 20 28 72 |st delet|e the (r|
|000011f0| 65 64 75 6e 64 61 6e 74 | 29 20 53 75 62 20 6f 72 |edundant|) Sub or|
|00001200| 20 46 75 6e 63 74 69 6f | 6e 20 73 74 61 74 65 6d | Functio|n statem|
|00001210| 65 6e 74 20 61 6e 64 20 | 62 65 20 73 75 72 65 20 |ent and |be sure |
|00001220| 74 68 61 74 20 74 68 65 | 20 76 61 72 69 61 62 6c |that the| variabl|
|00001230| 65 73 20 61 72 65 20 64 | 65 63 6c 61 72 65 64 20 |es are d|eclared |
|00001240| 69 6e 20 79 6f 75 72 20 | 6f 77 6e 20 6d 65 74 68 |in your |own meth|
|00001250| 6f 64 d5 73 20 64 65 63 | 6c 61 72 61 74 69 6f 6e |od.s dec|laration|
|00001260| 20 6c 69 6e 65 2e 20 53 | 65 63 6f 6e 64 2c 20 70 | line. S|econd, p|
|00001270| 6c 65 61 73 65 20 6b 65 | 65 70 20 69 6e 20 6d 69 |lease ke|ep in mi|
|00001280| 6e 64 20 74 68 61 74 20 | 63 6f 64 65 20 65 78 61 |nd that |code exa|
|00001290| 6d 70 6c 65 73 20 66 6f | 72 20 45 72 72 6f 72 20 |mples fo|r Error |
|000012a0| 4d 65 73 73 61 67 65 73 | 20 61 6e 64 20 52 75 6e |Messages| and Run|
|000012b0| 74 69 6d 65 20 45 78 63 | 65 70 74 69 6f 6e 73 20 |time Exc|eptions |
|000012c0| 61 72 65 20 64 65 73 69 | 67 6e 65 64 20 74 6f 20 |are desi|gned to |
|000012d0| 66 61 69 6c 2e 20 0c 00 | 20 49 6e 74 72 6f 64 75 |fail. ..| Introdu|
|000012e0| 63 74 69 6f 6e 3a 54 68 | 65 20 43 6c 61 73 73 20 |ction:Th|e Class |
|000012f0| 48 69 65 72 61 72 63 68 | 79 01 00 13 54 68 65 20 |Hierarch|y...The |
|00001300| 43 6c 61 73 73 20 48 69 | 65 72 61 72 63 68 79 03 |Class Hi|erarchy.|
|00001310| 01 d8 4f 62 6a 65 63 74 | 73 20 69 6e 20 52 45 41 |..Object|s in REA|
|00001320| 4c 62 61 73 69 63 20 61 | 72 65 20 61 72 72 61 6e |Lbasic a|re arran|
|00001330| 67 65 64 20 69 6e 20 61 | 20 68 69 65 72 61 72 63 |ged in a| hierarc|
|00001340| 68 79 2e 20 54 68 69 73 | 20 6d 65 61 6e 73 20 74 |hy. This| means t|
|00001350| 68 61 74 20 61 6e 20 6f | 62 6a 65 63 74 20 69 6e |hat an o|bject in|
|00001360| 68 65 72 69 74 73 20 74 | 68 65 20 70 72 6f 70 65 |herits t|he prope|
|00001370| 72 74 69 65 73 2c 20 6d | 65 74 68 6f 64 73 2c 20 |rties, m|ethods, |
|00001380| 61 6e 64 20 65 76 65 6e | 74 73 20 6f 66 20 69 74 |and even|ts of it|
|00001390| 73 20 73 75 70 65 72 20 | 63 6c 61 73 73 20 28 74 |s super |class (t|
|000013a0| 68 65 20 63 6c 61 73 73 | 65 73 20 61 62 6f 76 65 |he class|es above|
|000013b0| 20 69 74 20 69 6e 20 74 | 68 65 20 68 69 65 72 61 | it in t|he hiera|
|000013c0| 72 63 68 79 29 20 61 6e | 64 20 6d 61 79 20 63 6f |rchy) an|d may co|
|000013d0| 6e 74 61 69 6e 20 70 72 | 6f 70 65 72 74 69 65 73 |ntain pr|operties|
|000013e0| 2c 20 6d 65 74 68 6f 64 | 73 2c 20 61 6e 64 20 65 |, method|s, and e|
|000013f0| 76 65 6e 74 73 20 74 68 | 61 74 20 61 72 65 20 75 |vents th|at are u|
|00001400| 6e 69 71 75 65 20 74 6f | 20 74 68 65 20 6f 62 6a |nique to| the obj|
|00001410| 65 63 74 2e 20 54 68 65 | 20 66 69 67 75 72 65 20 |ect. The| figure |
|00001420| 62 65 6c 6f 77 20 73 68 | 6f 77 73 20 74 68 65 20 |below sh|ows the |
|00001430| 52 45 41 4c 62 61 73 69 | 63 20 63 6c 61 73 73 20 |REALbasi|c class |
|00001440| 68 69 65 72 61 72 63 68 | 79 2e 20 41 20 50 75 73 |hierarch|y. A Pus|
|00001450| 68 42 75 74 74 6f 6e 20 | 66 6f 72 20 65 78 61 6d |hButton |for exam|
|00001460| 70 6c 65 2c 20 69 73 20 | 61 20 73 75 62 63 6c 61 |ple, is |a subcla|
|00001470| 73 73 20 6f 66 20 61 20 | 52 65 63 74 43 6f 6e 74 |ss of a |RectCont|
|00001480| 72 6f 6c 2c 20 77 68 69 | 63 68 20 69 73 20 61 20 |rol, whi|ch is a |
|00001490| 73 75 62 63 6c 61 73 73 | 20 6f 66 20 61 20 43 6f |subclass| of a Co|
|000014a0| 6e 74 72 6f 6c 2c 20 77 | 68 69 63 68 20 69 73 20 |ntrol, w|hich is |
|000014b0| 61 20 73 75 62 63 6c 61 | 73 73 20 6f 66 20 61 6e |a subcla|ss of an|
|000014c0| 20 4f 62 6a 65 63 74 20 | 28 74 68 65 20 62 61 73 | Object |(the bas|
|000014d0| 65 20 63 6c 61 73 73 20 | 66 6f 72 20 61 6c 6c 20 |e class |for all |
|000014e0| 6f 62 6a 65 63 74 73 29 | 2e 20 0c 00 27 49 6e 74 |objects)|. ..'Int|
|000014f0| 72 6f 64 75 63 74 69 6f | 6e 3a 43 72 6f 73 73 2d |roductio|n:Cross-|
|00001500| 70 6c 61 74 66 6f 72 6d | 20 44 65 76 65 6c 6f 70 |platform| Develop|
|00001510| 6d 65 6e 74 01 00 1a 43 | 72 6f 73 73 2d 50 6c 61 |ment...C|ross-Pla|
|00001520| 74 66 6f 72 6d 20 44 65 | 76 65 6c 6f 70 6d 65 6e |tform De|velopmen|
|00001530| 74 0d 00 0b 54 61 72 67 | 65 74 46 6c 61 67 73 02 |t...Targ|etFlags.|
|00001540| 00 12 55 73 69 6e 67 20 | 54 61 72 67 65 74 20 46 |..Using |Target F|
|00001550| 6c 61 67 73 03 00 fe 59 | 6f 75 20 63 61 6e 20 64 |lags...Y|ou can d|
|00001560| 65 76 65 6c 6f 70 20 79 | 6f 75 72 20 61 70 70 6c |evelop y|our appl|
|00001570| 69 63 61 74 69 6f 6e 20 | 6f 6e 20 74 68 65 20 4d |ication |on the M|
|00001580| 61 63 69 6e 74 6f 73 68 | 20 70 6c 61 74 66 6f 72 |acintosh| platfor|
|00001590| 6d 20 61 6e 64 20 63 6f | 6d 70 69 6c 65 20 69 74 |m and co|mpile it|
|000015a0| 20 66 6f 72 20 57 69 6e | 64 6f 77 73 2e 20 49 66 | for Win|dows. If|
|000015b0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|000015c0| 6e 20 77 69 6c 6c 20 72 | 75 6e 20 6f 6e 20 65 69 |n will r|un on ei|
|000015d0| 74 68 65 72 20 4d 61 63 | 69 6e 74 6f 73 68 20 6f |ther Mac|intosh o|
|000015e0| 72 20 57 69 6e 64 6f 77 | 73 2c 20 79 6f 75 20 63 |r Window|s, you c|
|000015f0| 61 6e 20 75 73 65 20 74 | 68 65 20 66 6f 6c 6c 6f |an use t|he follo|
|00001600| 77 69 6e 67 20 67 6c 6f | 62 61 6c 20 42 6f 6f 6c |wing glo|bal Bool|
|00001610| 65 61 6e 20 63 6f 6e 73 | 74 61 6e 74 73 20 74 6f |ean cons|tants to|
|00001620| 20 64 65 74 65 72 6d 69 | 6e 65 20 77 68 69 63 68 | determi|ne which|
|00001630| 20 74 79 70 65 20 6f 66 | 20 63 6f 64 65 20 69 73 | type of| code is|
|00001640| 20 63 75 72 72 65 6e 74 | 6c 79 20 65 78 65 63 75 | current|ly execu|
|00001650| 74 69 6e 67 2e 04 00 07 | 42 6f 6f 6c 65 61 6e 00 |ting....|Boolean.|
|00001660| 0b 44 65 73 63 72 69 70 | 74 69 6f 6e ff 05 00 16 |.Descrip|tion....|
|00001670| 03 54 61 72 67 65 74 0e | 54 61 72 67 65 74 36 38 |.Target.|Target68|
|00001680| 4b 0f 36 38 4b 04 00 78 | 54 68 65 20 63 6f 6d 70 |K.68K..x|The comp|
|00001690| 69 6c 65 64 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |iled app|lication|
|000016a0| 20 69 73 20 63 75 72 72 | 65 6e 74 6c 79 20 72 75 | is curr|ently ru|
|000016b0| 6e 6e 69 6e 67 20 36 38 | 4b 20 4d 61 63 69 6e 74 |nning 68|K Macint|
|000016c0| 6f 73 68 20 63 6f 64 65 | 20 6f 6e 20 61 20 36 38 |osh code| on a 68|
|000016d0| 4b 20 6d 61 63 68 69 6e | 65 20 6f 72 20 69 6e 20 |K machin|e or in |
|000016e0| 65 6d 75 6c 61 74 69 6f | 6e 20 6d 6f 64 65 20 6f |emulatio|n mode o|
|000016f0| 6e 20 61 20 50 50 43 20 | 6d 61 63 68 69 6e 65 2e |n a PPC |machine.|
|00001700| ff 05 00 1a 0e 54 61 72 | 67 65 74 4d 61 63 4f 53 |.....Tar|getMacOS|
|00001710| 0f 03 54 61 72 67 65 74 | 4d 61 63 4f 53 04 00 5f |..Target|MacOS.._|
|00001720| 54 68 65 20 63 6f 6d 70 | 69 6c 65 64 20 61 70 70 |The comp|iled app|
|00001730| 6c 69 63 61 74 69 6f 6e | 20 69 73 20 63 75 72 72 |lication| is curr|
|00001740| 65 6e 74 6c 79 20 72 75 | 6e 6e 69 6e 67 20 4d 61 |ently ru|nning Ma|
|00001750| 63 69 6e 74 6f 73 68 20 | 63 6f 64 65 2c 20 36 38 |cintosh |code, 68|
|00001760| 4b 20 6f 72 20 50 50 43 | 20 d4 63 6c 61 73 73 69 |K or PPC| .classi|
|00001770| 63 d5 2c 20 6f 72 20 4d | 61 63 4f 53 20 58 2e ff |c., or M|acOS X..|
|00001780| 05 00 16 0e 54 61 72 67 | 65 74 50 50 43 0f 03 54 |....Targ|etPPC..T|
|00001790| 61 72 67 65 74 50 50 43 | 04 00 54 54 68 65 20 63 |argetPPC|..TThe c|
|000017a0| 6f 6d 70 69 6c 65 64 20 | 61 70 70 6c 69 63 61 74 |ompiled |applicat|
|000017b0| 69 6f 6e 20 69 73 20 63 | 75 72 72 65 6e 74 6c 79 |ion is c|urrently|
|000017c0| 20 72 75 6e 6e 69 6e 67 | 20 50 6f 77 65 72 50 43 | running| PowerPC|
|000017d0| 20 63 6f 64 65 20 77 69 | 74 68 69 6e 20 61 20 d4 | code wi|thin a .|
|000017e0| 63 6c 61 73 73 69 63 d5 | 20 4d 61 63 4f 53 2e ff |classic.| MacOS..|
|000017f0| 05 00 1a 0e 54 61 72 67 | 65 74 43 61 72 62 6f 6e |....Targ|etCarbon|
|00001800| 0f 54 61 72 67 65 74 43 | 61 72 62 6f 6e 00 43 54 |.TargetC|arbon.CT|
|00001810| 68 65 20 63 6f 6d 70 69 | 6c 65 64 20 61 70 70 6c |he compi|led appl|
|00001820| 69 63 61 74 69 6f 6e 20 | 69 73 20 63 75 72 72 65 |ication |is curre|
|00001830| 6e 74 6c 79 20 72 75 6e | 6e 69 6e 67 20 43 61 72 |ntly run|ning Car|
|00001840| 62 6f 6e 2f 4d 61 63 20 | 4f 53 20 58 20 63 6f 64 |bon/Mac |OS X cod|
|00001850| 65 2e ff 05 00 1a 0e 54 | 61 72 67 65 74 57 69 6e |e......T|argetWin|
|00001860| 33 32 0f 03 54 61 72 67 | 65 74 57 69 6e 33 32 04 |32..Targ|etWin32.|
|00001870| 00 39 54 68 65 20 63 6f | 6d 70 69 6c 65 64 20 61 |.9The co|mpiled a|
|00001880| 70 70 6c 69 63 61 74 69 | 6f 6e 20 69 73 20 63 75 |pplicati|on is cu|
|00001890| 72 72 65 6e 74 6c 79 20 | 72 75 6e 6e 69 6e 67 20 |rrently |running |
|000018a0| 57 69 6e 33 32 20 63 6f | 64 65 2e ff 05 00 18 0e |Win32 co|de......|
|000018b0| 44 65 62 75 67 42 75 69 | 6c 64 0f 03 44 65 62 75 |DebugBui|ld..Debu|
|000018c0| 67 42 75 69 6c 64 04 00 | 5c 54 68 65 20 61 70 70 |gBuild..|\The app|
|000018d0| 6c 69 63 61 74 69 6f 6e | 20 69 73 20 72 75 6e 6e |lication| is runn|
|000018e0| 69 6e 67 20 77 69 74 68 | 69 6e 20 74 68 65 20 52 |ing with|in the R|
|000018f0| 45 41 4c 62 61 73 69 63 | 20 61 70 70 6c 69 63 61 |EALbasic| applica|
|00001900| 74 69 6f 6e 2c 20 69 2e | 65 2e 2c 20 66 72 6f 6d |tion, i.|e., from|
|00001910| 20 63 68 6f 6f 73 69 6e | 67 20 44 65 62 75 67 2e | choosin|g Debug.|
|00001920| 20 52 75 6e 2e ff 02 00 | 17 43 6f 6e 64 69 74 69 | Run....|.Conditi|
|00001930| 6f 6e 61 6c 20 43 6f 6d | 70 69 6c 61 74 69 6f 6e |onal Com|pilation|
|00001940| 03 00 fa 49 66 20 73 6f | 6d 65 20 6f 66 20 79 6f |...If so|me of yo|
|00001950| 75 72 20 63 6f 64 65 20 | 73 68 6f 75 6c 64 20 62 |ur code |should b|
|00001960| 65 20 63 6f 6d 70 69 6c | 65 64 20 6f 6e 6c 79 20 |e compil|ed only |
|00001970| 66 6f 72 20 61 20 70 61 | 72 74 69 63 75 6c 61 72 |for a pa|rticular|
|00001980| 20 74 61 72 67 65 74 20 | 70 6c 61 74 66 6f 72 6d | target |platform|
|00001990| 20 28 73 75 63 68 20 61 | 73 20 41 70 70 6c 65 53 | (such a|s AppleS|
|000019a0| 63 72 69 70 74 2d 73 70 | 65 63 69 66 69 63 20 63 |cript-sp|ecific c|
|000019b0| 6f 64 65 20 6f 72 20 74 | 6f 6f 6c 62 6f 78 20 63 |ode or t|oolbox c|
|000019c0| 61 6c 6c 73 29 2c 20 79 | 6f 75 20 63 61 6e 20 75 |alls), y|ou can u|
|000019d0| 73 65 20 0e 23 49 66 0f | 03 23 49 66 04 20 73 74 |se .#If.|.#If. st|
|000019e0| 61 74 65 6d 65 6e 74 73 | 20 74 6f 20 63 6f 6d 70 |atements| to comp|
|000019f0| 69 6c 65 20 74 68 61 74 | 20 63 6f 64 65 20 6f 6e |ile that| code on|
|00001a00| 6c 79 20 66 6f 72 20 74 | 68 65 20 61 70 70 72 6f |ly for t|he appro|
|00001a10| 70 72 69 61 74 65 20 70 | 6c 61 74 66 6f 72 6d 2e |priate p|latform.|
|00001a20| 20 55 73 65 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 | Use the| followi|
|00001a30| 6e 67 20 73 74 72 75 63 | 74 75 72 65 3a 06 00 1e |ng struc|ture:...|
|00001a40| 0e 23 49 66 0f 03 23 49 | 66 04 20 54 61 72 67 65 |.#If..#I|f. Targe|
|00001a50| 74 42 6f 6f 6c 65 61 6e | 20 74 68 65 6e 20 06 00 |tBoolean| then ..|
|00001a60| 12 2f 2f 4f 53 2d 73 70 | 65 63 69 66 69 63 20 63 |.//OS-sp|ecific c|
|00001a70| 6f 64 65 06 00 18 2f 2f | 69 6e 63 6c 75 64 65 64 |ode...//|included|
|00001a80| 20 69 6e 20 62 75 69 6c | 74 20 61 70 70 20 06 00 | in buil|t app ..|
|00001a90| 1a 2f 2f 6f 6e 6c 79 20 | 66 6f 72 20 74 61 72 67 |.//only |for targ|
|00001aa0| 65 74 20 70 6c 61 74 66 | 6f 72 6d 06 00 10 23 45 |et platf|orm...#E|
|00001ab0| 6c 73 65 20 28 6f 70 74 | 69 6f 6e 61 6c 29 06 00 |lse (opt|ional)..|
|00001ac0| 23 2f 2f 28 6f 70 74 69 | 6f 6e 61 6c 29 20 4f 74 |#//(opti|onal) Ot|
|00001ad0| 68 65 72 20 4f 53 2d 73 | 70 65 63 69 66 69 63 20 |her OS-s|pecific |
|00001ae0| 63 6f 64 65 06 00 06 23 | 45 6e 64 69 66 0c 00 0b |code...#|Endif...|
|00001af0| 4f 70 65 72 61 74 6f 72 | 73 3a 2d 0d 00 01 2d 01 |Operator|s:-...-.|
|00001b00| 00 0a 2d 20 4f 70 65 72 | 61 74 6f 72 03 00 30 55 |..- Oper|ator..0U|
|00001b10| 73 65 64 20 74 6f 20 66 | 69 6e 64 20 74 68 65 20 |sed to f|ind the |
|00001b20| 64 69 66 66 65 72 65 6e | 63 65 20 62 65 74 77 65 |differen|ce betwe|
|00001b30| 65 6e 20 74 77 6f 20 6e | 75 6d 62 65 72 73 2e 02 |en two n|umbers..|
|00001b40| 00 06 53 79 6e 74 61 78 | 03 00 22 72 65 73 75 6c |..Syntax|.."resul|
|00001b50| 74 3d 65 78 70 72 65 73 | 73 69 6f 6e 31 20 01 2d |t=expres|sion1 .-|
|00001b60| 02 20 65 78 70 72 65 73 | 73 69 6f 6e 32 04 00 04 |. expres|sion2...|
|00001b70| 50 61 72 74 00 04 54 79 | 70 65 00 0b 44 65 73 63 |Part..Ty|pe..Desc|
|00001b80| 72 69 70 74 69 6f 6e ff | 05 00 06 72 65 73 75 6c |ription.|...resul|
|00001b90| 74 00 06 4e 75 6d 62 65 | 72 00 33 54 68 65 20 64 |t..Numbe|r.3The d|
|00001ba0| 69 66 66 65 72 65 6e 63 | 65 20 62 65 74 77 65 65 |ifferenc|e betwee|
|00001bb0| 6e 20 65 78 70 72 65 73 | 73 69 6f 6e 31 20 61 6e |n expres|sion1 an|
|00001bc0| 64 20 65 78 70 72 65 73 | 73 69 6f 6e 32 2e ff 05 |d expres|sion2...|
|00001bd0| 00 0b 65 78 70 72 65 73 | 73 69 6f 6e 31 00 06 4e |..expres|sion1..N|
|00001be0| 75 6d 62 65 72 00 17 41 | 6e 79 20 6e 75 6d 65 72 |umber..A|ny numer|
|00001bf0| 69 63 20 65 78 70 72 65 | 73 73 69 6f 6e 2e ff 05 |ic expre|ssion...|
|00001c00| 00 0b 65 78 70 72 65 73 | 73 69 6f 6e 32 00 06 4e |..expres|sion2..N|
|00001c10| 75 6d 62 65 72 00 17 41 | 6e 79 20 6e 75 6d 65 72 |umber..A|ny numer|
|00001c20| 69 63 20 65 78 70 72 65 | 73 73 69 6f 6e 2e ff 02 |ic expre|ssion...|
|00001c30| 00 08 45 78 61 6d 70 6c | 65 73 03 00 45 54 68 69 |..Exampl|es..EThi|
|00001c40| 73 20 65 78 61 6d 70 6c | 65 20 73 74 6f 72 65 73 |s exampl|e stores|
|00001c50| 20 74 68 65 20 64 69 66 | 66 65 72 65 6e 63 65 20 | the dif|ference |
|00001c60| 62 65 74 77 65 65 6e 20 | 74 77 6f 20 6e 75 6d 62 |between |two numb|
|00001c70| 65 72 73 20 69 6e 20 61 | 20 76 61 72 69 61 62 6c |ers in a| variabl|
|00001c80| 65 3a 06 00 17 0e 44 69 | 6d 0f 03 44 69 6d 04 20 |e:....Di|m..Dim. |
|00001c90| 78 20 61 73 20 49 6e 74 | 65 67 65 72 07 00 13 78 |x as Int|eger...x|
|00001ca0| 3d 35 30 2d 33 30 20 20 | 20 2f 2f 78 20 69 73 20 |=50-30 | //x is |
|00001cb0| 32 30 0c 00 34 43 6f 64 | 65 20 45 78 65 63 75 74 |20..4Cod|e Execut|
|00001cc0| 69 6f 6e 3a 23 49 66 20 | c9 23 45 6c 73 65 c9 23 |ion:#If |.#Else.#|
|00001cd0| 45 6e 64 69 66 3b 4f 53 | 3a 23 49 66 c9 23 45 6c |Endif;OS|:#If.#El|
|00001ce0| 73 65 c9 23 45 6e 64 69 | 66 0d 00 10 23 49 66 c9 |se.#Endi|f...#If.|
|00001cf0| 23 45 6c 73 65 c9 23 45 | 6e 64 69 66 0d 00 03 23 |#Else.#E|ndif...#|
|00001d00| 49 66 0d 00 16 43 6f 6e | 64 69 74 69 6f 6e 61 6c |If...Con|ditional|
|00001d10| 43 6f 6d 70 69 6c 61 74 | 69 6f 6e 0d 00 03 23 69 |Compilat|ion...#i|
|00001d20| 66 01 00 1b 23 49 66 20 | c9 23 45 6c 73 65 c9 23 |f...#If |.#Else.#|
|00001d30| 45 6e 64 69 66 20 53 74 | 61 74 65 6d 65 6e 74 03 |Endif St|atement.|
|00001d40| 00 29 55 73 65 64 20 74 | 6f 20 63 6f 6e 74 72 6f |.)Used t|o contro|
|00001d50| 6c 20 63 6f 6e 64 69 74 | 69 6f 6e 61 6c 20 63 6f |l condit|ional co|
|00001d60| 6d 70 69 6c 61 74 69 6f | 6e 2e 20 02 00 06 53 79 |mpilatio|n. ...Sy|
|00001d70| 6e 74 61 78 03 00 1a 01 | 23 49 66 02 20 54 61 72 |ntax....|#If. Tar|
|00001d80| 67 65 74 42 6f 6f 6c 65 | 61 6e 20 01 54 68 65 6e |getBoole|an .Then|
|00001d90| 02 03 00 12 2f 2f 4f 53 | 20 73 70 65 63 69 66 69 |....//OS| specifi|
|00001da0| 63 20 63 6f 64 65 03 00 | 07 01 23 45 6c 73 65 02 |c code..|..#Else.|
|00001db0| 03 00 18 2f 2f 4f 74 68 | 65 72 20 4f 53 2d 73 70 |...//Oth|er OS-sp|
|00001dc0| 65 63 69 66 69 63 20 63 | 6f 64 65 03 00 08 01 23 |ecific c|ode....#|
|00001dd0| 45 6e 64 69 66 02 04 00 | 04 50 61 72 74 00 04 54 |Endif...|.Part..T|
|00001de0| 79 70 65 00 0b 44 65 73 | 63 72 69 70 74 69 6f 6e |ype..Des|cription|
|00001df0| ff 05 00 0d 54 61 72 67 | 65 74 42 6f 6f 6c 65 61 |....Targ|etBoolea|
|00001e00| 6e 00 10 42 6f 6f 6c 65 | 61 6e 20 43 6f 6e 73 74 |n..Boole|an Const|
|00001e10| 61 6e 74 00 fa 0e 54 61 | 72 67 65 74 4d 61 63 4f |ant...Ta|rgetMacO|
|00001e20| 53 0f 03 54 61 72 67 65 | 74 4d 61 63 4f 53 04 2c |S..Targe|tMacOS.,|
|00001e30| 20 0e 54 61 72 67 65 74 | 50 50 43 0f 03 54 61 72 | .Target|PPC..Tar|
|00001e40| 67 65 74 50 50 43 04 2c | 20 0e 54 61 72 67 65 74 |getPPC.,| .Target|
|00001e50| 36 38 4b 0f 03 54 61 72 | 67 65 74 36 38 4b 04 2c |68K..Tar|get68K.,|
|00001e60| 20 0e 54 61 72 67 65 74 | 43 61 72 62 6f 6e 0f 03 | .Target|Carbon..|
|00001e70| 54 61 72 67 65 74 43 61 | 72 62 6f 6e 04 2c 20 0e |TargetCa|rbon., .|
|00001e80| 54 61 72 67 65 74 57 69 | 6e 33 32 0f 03 54 61 72 |TargetWi|n32..Tar|
|00001e90| 67 65 74 57 69 6e 33 32 | 04 2c 20 6f 72 20 0e 44 |getWin32|., or .D|
|00001ea0| 65 62 75 67 42 75 69 6c | 64 0f 03 44 65 62 75 67 |ebugBuil|d..Debug|
|00001eb0| 42 75 69 6c 64 04 20 63 | 6f 6e 73 74 61 6e 74 2c |Build. c|onstant,|
|00001ec0| 20 75 73 65 64 20 74 6f | 20 64 65 74 65 72 6d 69 | used to| determi|
|00001ed0| 6e 65 20 74 68 65 20 6f | 70 65 72 61 74 69 6e 67 |ne the o|perating|
|00001ee0| 20 73 79 73 74 65 6d 20 | 74 68 61 74 20 77 69 6c | system |that wil|
|00001ef0| 6c 20 69 6e 63 6c 75 64 | 65 20 74 68 65 20 63 6f |l includ|e the co|
|00001f00| 64 65 20 74 68 65 20 66 | 6f 6c 6c 6f 77 73 2e ff |de the f|ollows..|
|00001f10| 02 00 05 4e 6f 74 65 73 | 03 01 5e 55 73 65 20 63 |...Notes|..^Use c|
|00001f20| 6f 6e 64 69 74 69 6f 6e | 61 6c 20 63 6f 6d 70 69 |ondition|al compi|
|00001f30| 6c 61 74 69 6f 6e 20 74 | 6f 20 69 73 6f 6c 61 74 |lation t|o isolat|
|00001f40| 65 20 70 6c 61 74 66 6f | 72 6d 2d 73 70 65 63 69 |e platfo|rm-speci|
|00001f50| 66 69 63 20 73 74 61 74 | 65 6d 65 6e 74 73 20 73 |fic stat|ements s|
|00001f60| 75 63 68 20 61 73 20 74 | 6f 6f 6c 62 6f 78 20 63 |uch as t|oolbox c|
|00001f70| 61 6c 6c 73 20 6f 72 20 | 41 70 70 6c 65 45 76 65 |alls or |AppleEve|
|00001f80| 6e 74 20 72 6f 75 74 69 | 6e 65 73 2e 20 54 68 65 |nt routi|nes. The|
|00001f90| 20 63 6f 64 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 | code fo|llowing |
|00001fa0| 74 68 65 20 23 49 66 20 | 73 74 61 74 65 6d 65 6e |the #If |statemen|
|00001fb0| 74 20 69 73 20 69 6e 63 | 6c 75 64 65 64 20 6f 6e |t is inc|luded on|
|00001fc0| 6c 79 20 69 6e 20 74 68 | 65 20 62 75 69 6c 64 20 |ly in th|e build |
|00001fd0| 66 6f 72 20 74 68 61 74 | 20 6f 70 65 72 61 74 69 |for that| operati|
|00001fe0| 6e 67 20 73 79 73 74 65 | 6d 2e 20 0e 54 61 72 67 |ng syste|m. .Targ|
|00001ff0| 65 74 36 38 4b 0f 03 54 | 61 72 67 65 74 36 38 4b |et68K..T|arget68K|
|00002000| 04 2c 20 0e 54 61 72 67 | 65 74 50 50 43 0f 03 54 |., .Targ|etPPC..T|
|00002010| 61 72 67 65 74 50 50 43 | 04 2c 20 61 6e 64 20 0e |argetPPC|., and .|
|00002020| 54 61 72 67 65 74 43 61 | 72 62 6f 6e 0f 03 54 61 |TargetCa|rbon..Ta|
|00002030| 72 67 65 74 43 61 72 62 | 6f 6e 04 20 61 72 65 20 |rgetCarb|on. are |
|00002040| 6d 75 74 75 61 6c 6c 79 | 20 65 78 63 6c 75 73 69 |mutually| exclusi|
|00002050| 76 65 20 73 75 62 73 65 | 74 73 20 6f 66 20 0e 54 |ve subse|ts of .T|
|00002060| 61 72 67 65 74 4d 61 63 | 4f 53 0f 03 54 61 72 67 |argetMac|OS..Targ|
|00002070| 65 74 4d 61 63 4f 53 04 | 2e 02 00 07 45 78 61 6d |etMacOS.|....Exam|
|00002080| 70 6c 65 03 00 ef 54 68 | 65 20 66 6f 6c 6c 6f 77 |ple...Th|e follow|
|00002090| 69 6e 67 20 65 78 61 6d | 70 6c 65 20 69 6e 73 74 |ing exam|ple inst|
|000020a0| 72 75 63 74 73 20 74 68 | 65 20 63 6f 6d 70 69 6c |ructs th|e compil|
|000020b0| 65 72 20 74 6f 20 69 6e | 63 6c 75 64 65 20 74 68 |er to in|clude th|
|000020c0| 65 20 6c 69 6e 65 20 6f | 66 20 63 6f 64 65 20 74 |e line o|f code t|
|000020d0| 68 61 74 20 64 69 73 70 | 6c 61 79 73 20 74 68 65 |hat disp|lays the|
|000020e0| 20 43 6f 6c 6f 72 20 50 | 69 63 6b 65 72 20 6f 6e | Color P|icker on|
|000020f0| 6c 79 20 77 68 65 6e 20 | 62 75 69 6c 64 69 6e 67 |ly when |building|
|00002100| 20 61 20 4d 61 63 69 6e | 74 6f 73 68 20 61 70 70 | a Macin|tosh app|
|00002110| 6c 69 63 61 74 69 6f 6e | 2e 20 54 68 69 73 20 6c |lication|. This l|
|00002120| 69 6e 65 20 6f 66 20 63 | 6f 64 65 20 77 69 6c 6c |ine of c|ode will|
|00002130| 20 6e 6f 74 20 62 65 63 | 6f 6d 65 20 70 61 72 74 | not bec|ome part|
|00002140| 20 6f 66 20 74 68 65 20 | 62 75 69 6c 74 20 61 70 | of the |built ap|
|00002150| 70 6c 69 63 61 74 69 6f | 6e 20 77 68 65 6e 20 63 |plicatio|n when c|
|00002160| 6f 6d 70 69 6c 69 6e 67 | 20 66 6f 72 20 57 69 6e |ompiling| for Win|
|00002170| 64 6f 77 73 2e 06 00 1f | 0e 44 69 6d 0f 03 44 69 |dows....|.Dim..Di|
|00002180| 6d 04 20 63 20 20 61 73 | 20 0e 43 6f 6c 6f 72 0f |m. c as| .Color.|
|00002190| 03 43 6f 6c 6f 72 04 06 | 00 17 0e 44 69 6d 0f 03 |.Color..|...Dim..|
|000021a0| 44 69 6d 04 20 62 20 61 | 73 20 42 6f 6f 6c 65 61 |Dim. b a|s Boolea|
|000021b0| 6e 06 00 17 63 3d 0e 43 | 4d 59 0f 03 43 4d 59 04 |n...c=.C|MY..CMY.|
|000021c0| 28 2e 33 35 2c 2e 39 2c | 2e 36 29 06 00 25 01 23 |(.35,.9,|.6)..%.#|
|000021d0| 49 66 02 20 0e 54 61 72 | 67 65 74 4d 61 63 4f 53 |If. .Tar|getMacOS|
|000021e0| 0f 03 54 61 72 67 65 74 | 4d 61 63 4f 53 04 20 74 |..Target|MacOS. t|
|000021f0| 68 65 6e 06 00 25 62 3d | 01 53 65 6c 65 63 74 43 |hen..%b=|.SelectC|
|00002200| 6f 6c 6f 72 02 28 20 63 | 20 2c 22 53 65 6c 65 63 |olor.( c| ,"Selec|
|00002210| 74 20 61 20 43 6f 6c 6f | 72 22 29 06 00 08 01 23 |t a Colo|r")....#|
|00002220| 45 6e 64 49 66 02 07 00 | 17 52 65 63 74 61 6e 67 |EndIf...|.Rectang|
|00002230| 6c 65 31 2e 46 69 6c 6c | 43 6f 6c 6f 72 3d 63 20 |le1.Fill|Color=c |
|00002240| 02 00 08 53 65 65 20 41 | 6c 73 6f 03 00 e7 0e 44 |...See A|lso....D|
|00002250| 65 63 6c 61 72 65 0f 03 | 44 65 63 6c 61 72 65 04 |eclare..|Declare.|
|00002260| 20 73 74 61 74 65 6d 65 | 6e 74 2c 20 0e 41 70 70 | stateme|nt, .App|
|00002270| 6c 65 45 76 65 6e 74 0f | 03 41 70 70 6c 65 45 76 |leEvent.|.AppleEv|
|00002280| 65 6e 74 04 20 63 6c 61 | 73 73 3b 20 0e 54 61 72 |ent. cla|ss; .Tar|
|00002290| 67 65 74 4d 61 63 4f 53 | 0f 03 54 61 72 67 65 74 |getMacOS|..Target|
|000022a0| 4d 61 63 4f 53 04 2c 20 | 0e 54 61 72 67 65 74 50 |MacOS., |.TargetP|
|000022b0| 50 43 0f 03 54 61 72 67 | 65 74 50 50 43 04 2c 20 |PC..Targ|etPPC., |
|000022c0| 0e 54 61 72 67 65 74 36 | 38 4b 0f 03 54 61 72 67 |.Target6|8K..Targ|
|000022d0| 65 74 36 38 4b 04 2c 20 | 0e 54 61 72 67 65 74 43 |et68K., |.TargetC|
|000022e0| 61 72 62 6f 6e 0f 03 54 | 61 72 67 65 74 43 61 72 |arbon..T|argetCar|
|000022f0| 62 6f 6e 04 2c 20 0e 54 | 61 72 67 65 74 57 69 6e |bon., .T|argetWin|
|00002300| 33 32 0f 03 54 61 72 67 | 65 74 57 69 6e 33 32 04 |32..Targ|etWin32.|
|00002310| 2c 20 0e 44 65 62 75 67 | 42 75 69 6c 64 0f 03 44 |, .Debug|Build..D|
|00002320| 65 62 75 67 42 75 69 6c | 64 04 20 63 6f 6e 73 74 |ebugBuil|d. const|
|00002330| 61 6e 74 73 2e 0d 00 07 | 23 50 72 61 67 6d 61 0c |ants....|#Pragma.|
|00002340| 00 20 43 6f 64 65 20 45 | 78 65 63 75 74 69 6f 6e |. Code E|xecution|
|00002350| 3a 50 72 61 67 6d 61 20 | 44 69 72 65 63 74 69 76 |:Pragma |Directiv|
|00002360| 65 73 01 00 12 23 50 72 | 61 67 6d 61 20 44 69 72 |es...#Pr|agma Dir|
|00002370| 65 63 74 69 76 65 73 03 | 01 04 55 73 65 64 20 74 |ectives.|..Used t|
|00002380| 6f 20 73 70 65 65 64 20 | 75 70 20 63 6f 64 65 20 |o speed |up code |
|00002390| 65 78 65 63 75 74 69 6f | 6e 20 62 79 20 74 75 72 |executio|n by tur|
|000023a0| 6e 69 6e 67 20 6f 66 66 | 20 63 65 72 74 61 69 6e |ning off| certain|
|000023b0| 20 61 75 74 6f 6d 61 74 | 69 63 20 74 61 73 6b 73 | automat|ic tasks|
|000023c0| 2e 20 57 68 65 6e 20 61 | 20 70 72 61 67 6d 61 20 |. When a| pragma |
|000023d0| 64 69 72 65 63 74 69 76 | 65 20 69 73 20 75 73 65 |directiv|e is use|
|000023e0| 64 2c 20 74 68 65 20 61 | 75 74 6f 6d 61 74 69 63 |d, the a|utomatic|
|000023f0| 20 74 61 73 6b 20 72 65 | 6d 61 69 6e 73 20 6f 66 | task re|mains of|
|00002400| 66 20 75 6e 74 69 6c 20 | 74 68 65 20 65 6e 64 20 |f until |the end |
|00002410| 6f 66 20 74 68 65 20 6d | 65 74 68 6f 64 20 69 6e |of the m|ethod in|
|00002420| 20 77 68 69 63 68 20 69 | 74 20 69 73 20 63 61 6c | which i|t is cal|
|00002430| 6c 65 64 2c 20 62 75 74 | 20 6e 6f 74 20 69 6e 20 |led, but| not in |
|00002440| 6f 74 68 65 72 20 6d 65 | 74 68 6f 64 73 20 74 68 |other me|thods th|
|00002450| 61 74 20 6d 69 67 68 74 | 20 62 65 20 63 61 6c 6c |at might| be call|
|00002460| 65 64 20 77 69 74 68 69 | 6e 20 74 68 65 20 6f 72 |ed withi|n the or|
|00002470| 69 67 69 6e 61 6c 20 6d | 65 74 68 6f 64 2e 02 00 |iginal m|ethod...|
|00002480| 06 53 79 6e 74 61 78 03 | 00 11 23 70 72 61 67 6d |.Syntax.|..#pragm|
|00002490| 61 20 44 69 72 65 63 74 | 69 76 65 04 00 09 44 69 |a Direct|ive...Di|
|000024a0| 72 65 63 74 69 76 65 00 | 0b 44 65 73 63 72 69 70 |rective.|.Descrip|
|000024b0| 74 69 6f 6e ff 05 00 15 | 64 69 73 61 62 6c 65 42 |tion....|disableB|
|000024c0| 6f 75 6e 64 73 43 68 65 | 63 6b 69 6e 67 00 57 55 |oundsChe|cking.WU|
|000024d0| 73 65 64 20 74 6f 20 74 | 75 72 6e 20 6f 66 66 20 |sed to t|urn off |
|000024e0| 61 72 72 61 79 20 62 6f | 75 6e 64 73 20 63 68 65 |array bo|unds che|
|000024f0| 63 6b 69 6e 67 20 6f 6e | 20 61 72 72 61 79 20 69 |cking on| array i|
|00002500| 6e 64 65 78 20 76 61 6c | 75 65 73 20 69 6e 20 63 |ndex val|ues in c|
|00002510| 6f 64 65 20 61 66 74 65 | 72 20 74 68 65 20 23 70 |ode afte|r the #p|
|00002520| 72 61 67 6d 61 2e ff 05 | 00 16 64 69 73 61 62 6c |ragma...|..disabl|
|00002530| 65 42 61 63 6b 67 72 6f | 75 6e 64 54 61 73 6b 73 |eBackgro|undTasks|
|00002540| 01 a7 55 73 65 64 20 74 | 6f 20 74 75 72 6e 20 6f |..Used t|o turn o|
|00002550| 66 66 20 61 75 74 6f 6d | 61 74 69 63 20 62 61 63 |ff autom|atic bac|
|00002560| 6b 67 72 6f 75 6e 64 20 | 74 61 73 6b 20 68 61 6e |kground |task han|
|00002570| 64 6c 69 6e 67 20 66 6f | 72 20 63 6f 64 65 20 61 |dling fo|r code a|
|00002580| 66 74 65 72 20 74 68 65 | 20 23 70 72 61 67 6d 61 |fter the| #pragma|
|00002590| 2e 20 49 74 20 70 72 65 | 76 65 6e 74 73 20 52 45 |. It pre|vents RE|
|000025a0| 41 4c 62 61 73 69 63 20 | 66 72 6f 6d 20 63 61 6c |ALbasic |from cal|
|000025b0| 6c 69 6e 67 20 74 68 65 | 20 57 61 69 74 4e 65 78 |ling the| WaitNex|
|000025c0| 74 45 76 65 6e 74 20 74 | 6f 6f 6c 62 6f 78 20 72 |tEvent t|oolbox r|
|000025d0| 6f 75 74 69 6e 65 2c 20 | 73 6f 20 69 74 20 6e 65 |outine, |so it ne|
|000025e0| 76 65 72 20 79 69 65 6c | 64 73 20 74 69 6d 65 20 |ver yiel|ds time |
|000025f0| 74 6f 20 61 6e 79 20 6f | 74 68 65 72 20 61 70 70 |to any o|ther app|
|00002600| 6c 69 63 61 74 69 6f 6e | 73 2e 20 49 74 2c 20 74 |lication|s. It, t|
|00002610| 68 65 72 65 66 6f 72 65 | 2c 20 63 61 6e 20 73 70 |herefore|, can sp|
|00002620| 65 65 64 20 75 70 20 76 | 65 72 79 20 70 72 6f 63 |eed up v|ery proc|
|00002630| 65 73 73 6f 72 2d 69 6e | 74 65 6e 73 69 76 65 20 |essor-in|tensive |
|00002640| 6f 70 65 72 61 74 69 6f | 6e 73 20 62 75 74 20 70 |operatio|ns but p|
|00002650| 72 65 76 65 6e 74 73 20 | 52 45 41 4c 62 61 73 69 |revents |REALbasi|
|00002660| 63 20 66 72 6f 6d 20 64 | 69 73 70 6c 61 79 69 6e |c from d|isplayin|
|00002670| 67 20 74 68 65 20 57 61 | 74 63 68 20 63 75 72 73 |g the Wa|tch curs|
|00002680| 6f 72 2c 20 6d 61 79 20 | 68 61 6c 74 20 6e 6f 72 |or, may |halt nor|
|00002690| 6d 61 6c 20 62 61 63 6b | 67 72 6f 75 6e 64 20 75 |mal back|ground u|
|000026a0| 70 64 61 74 69 6e 67 20 | 6f 66 20 69 6e 74 65 72 |pdating |of inter|
|000026b0| 66 61 63 65 20 65 6c 65 | 6d 65 6e 74 73 2c 20 61 |face ele|ments, a|
|000026c0| 6e 64 20 70 72 65 76 65 | 6e 74 73 20 6f 74 68 65 |nd preve|nts othe|
|000026d0| 72 20 74 68 72 65 61 64 | 73 20 66 72 6f 6d 20 65 |r thread|s from e|
|000026e0| 78 65 63 75 74 69 6e 67 | 2e ff 05 00 15 44 69 73 |xecuting|.....Dis|
|000026f0| 61 62 6c 65 41 75 74 6f | 57 61 69 74 43 75 72 73 |ableAuto|WaitCurs|
|00002700| 6f 72 00 a0 55 73 65 64 | 20 74 6f 20 64 69 73 61 |or..Used| to disa|
|00002710| 62 6c 65 20 74 68 65 20 | 61 75 74 6f 6d 61 74 69 |ble the |automati|
|00002720| 63 20 64 69 73 70 6c 61 | 79 20 6f 66 20 74 68 65 |c displa|y of the|
|00002730| 20 77 61 69 74 20 63 75 | 72 73 6f 72 20 28 6f 72 | wait cu|rsor (or|
|00002740| 20 77 61 74 63 68 20 63 | 75 72 73 6f 72 29 2e 0d | watch c|ursor)..|
|00002750| 54 68 65 20 70 72 61 67 | 6d 61 20 63 61 6e 20 62 |The prag|ma can b|
|00002760| 65 20 70 6c 61 63 65 64 | 20 61 6e 79 77 68 65 72 |e placed| anywher|
|00002770| 65 20 69 6e 20 79 6f 75 | 72 20 63 6f 64 65 2c 20 |e in you|r code, |
|00002780| 61 6e 64 20 69 74 20 77 | 69 6c 6c 20 61 66 66 65 |and it w|ill affe|
|00002790| 63 74 20 61 6c 6c 20 6f | 66 20 79 6f 75 72 20 63 |ct all o|f your c|
|000027a0| 6f 64 65 2e ff 0d 00 01 | 26 0c 00 0b 4f 70 65 72 |ode.....|&...Oper|
|000027b0| 61 74 6f 72 73 3a 26 0c | 00 0b 4f 70 65 72 61 74 |ators:&.|..Operat|
|000027c0| 6f 72 73 3a 26 01 00 0a | 26 20 4f 70 65 72 61 74 |ors:&...|& Operat|
|000027d0| 6f 72 03 00 3b 55 73 65 | 64 20 74 6f 20 72 65 70 |or..;Use|d to rep|
|000027e0| 72 65 73 65 6e 74 20 68 | 65 78 61 64 65 63 69 6d |resent h|exadecim|
|000027f0| 61 6c 2c 20 6f 63 74 61 | 6c 2c 20 61 6e 64 20 62 |al, octa|l, and b|
|00002800| 69 6e 61 72 79 20 63 6f | 6e 73 74 61 6e 74 73 2e |inary co|nstants.|
|00002810| 02 00 06 53 79 6e 74 61 | 78 03 00 21 26 68 20 70 |...Synta|x..!&h p|
|00002820| 72 65 66 69 78 20 66 6f | 72 20 68 65 78 61 64 65 |refix fo|r hexade|
|00002830| 63 69 6d 61 6c 20 6e 75 | 6d 62 65 72 73 03 00 1b |cimal nu|mbers...|
|00002840| 26 6f 20 70 72 65 66 69 | 78 20 66 6f 72 20 6f 63 |&o prefi|x for oc|
|00002850| 74 61 6c 20 6e 75 6d 62 | 65 72 73 03 00 15 26 62 |tal numb|ers...&b|
|00002860| 20 66 6f 72 20 62 69 6e | 61 72 79 20 6e 75 6d 62 | for bin|ary numb|
|00002870| 65 72 73 02 00 08 45 78 | 61 6d 70 6c 65 73 03 00 |ers...Ex|amples..|
|00002880| 2a 54 68 69 73 20 65 78 | 61 6d 70 6c 65 20 73 68 |*This ex|ample sh|
|00002890| 6f 77 73 20 61 20 68 65 | 78 61 64 65 63 69 6d 61 |ows a he|xadecima|
|000028a0| 6c 20 63 6f 6e 73 74 61 | 6e 74 3a 07 00 04 26 68 |l consta|nt:...&h|
|000028b0| 41 34 03 00 25 54 68 69 | 73 20 65 78 61 6d 70 6c |A4..%Thi|s exampl|
|000028c0| 65 20 73 68 6f 77 73 20 | 61 6e 20 6f 63 74 61 6c |e shows |an octal|
|000028d0| 20 63 6f 6e 73 74 61 6e | 74 3a 07 00 05 26 6f 35 | constan|t:...&o5|
|000028e0| 32 37 03 00 25 54 68 69 | 73 20 65 78 61 6d 70 6c |27..%Thi|s exampl|
|000028f0| 65 20 73 68 6f 77 73 20 | 61 20 62 69 6e 61 72 79 |e shows |a binary|
|00002900| 20 63 6f 6e 73 74 61 6e | 74 3a 07 00 0a 26 62 31 | constan|t:...&b1|
|00002910| 30 30 31 30 31 30 31 0d | 00 01 d5 0c 00 10 43 6f |0010101.|......Co|
|00002920| 64 65 20 45 78 65 63 75 | 74 69 6f 6e 3a d5 01 00 |de Execu|tion:...|
|00002930| 0a d5 20 4f 70 65 72 61 | 74 6f 72 03 00 1d 55 73 |.. Opera|tor...Us|
|00002940| 65 64 20 74 6f 20 61 64 | 64 20 63 6f 6d 6d 65 6e |ed to ad|d commen|
|00002950| 74 73 20 74 6f 20 63 6f | 64 65 2e 02 00 06 53 79 |ts to co|de....Sy|
|00002960| 6e 74 61 78 03 00 0f 01 | d5 02 20 74 65 78 74 20 |ntax....|.. text |
|00002970| 73 74 72 69 6e 67 02 00 | 05 4e 6f 74 65 73 03 00 |string..|.Notes..|
|00002980| 87 52 45 41 4c 62 61 73 | 69 63 d5 73 20 63 6f 6d |.REALbas|ic.s com|
|00002990| 70 69 6c 65 72 20 77 69 | 6c 6c 20 69 67 6e 6f 72 |piler wi|ll ignor|
|000029a0| 65 20 61 6e 79 20 63 6f | 6d 6d 65 6e 74 73 20 79 |e any co|mments y|
|000029b0| 6f 75 20 65 6e 74 65 72 | 20 66 6f 6c 6c 6f 77 69 |ou enter| followi|
|000029c0| 6e 67 20 74 68 65 d5 20 | 6f 70 65 72 61 74 6f 72 |ng the. |operator|
|000029d0| 2e 20 43 6f 6d 6d 65 6e | 74 73 20 61 72 65 20 6e |. Commen|ts are n|
|000029e0| 6f 74 20 69 6e 63 6c 75 | 64 65 64 20 69 6e 20 73 |ot inclu|ded in s|
|000029f0| 74 61 6e 64 2d 61 6c 6f | 6e 65 20 61 70 70 6c 69 |tand-alo|ne appli|
|00002a00| 63 61 74 69 6f 6e 73 2e | 03 01 0f 54 68 65 03 20 |cations.|...The. |
|00002a10| 0e 2f 2f 0f 2f 2f 04 20 | 6f 70 65 72 61 74 6f 72 |.//.//. |operator|
|00002a20| 20 6f 72 20 0e 52 65 6d | 0f 03 52 65 6d 04 20 73 | or .Rem|..Rem. s|
|00002a30| 74 61 74 65 6d 65 6e 74 | 20 63 61 6e 20 62 65 20 |tatement| can be |
|00002a40| 75 73 65 64 20 74 6f 20 | 63 6f 6d 6d 65 6e 74 20 |used to |comment |
|00002a50| 63 6f 64 65 20 61 73 20 | 77 65 6c 6c 2e 20 43 6f |code as |well. Co|
|00002a60| 6d 6d 65 6e 74 73 20 63 | 61 6e 20 61 70 70 65 61 |mments c|an appea|
|00002a70| 72 20 6f 6e 20 73 65 70 | 61 72 61 74 65 20 6c 69 |r on sep|arate li|
|00002a80| 6e 65 73 20 6f 72 20 6f | 6e 20 74 68 65 20 73 61 |nes or o|n the sa|
|00002a90| 6d 65 20 6c 69 6e 65 20 | 61 73 20 65 78 65 63 75 |me line |as execu|
|00002aa0| 74 61 62 6c 65 20 63 6f | 64 65 2c 20 70 72 6f 76 |table co|de, prov|
|00002ab0| 69 64 65 64 20 74 68 65 | 79 20 61 72 65 20 74 6f |ided the|y are to|
|00002ac0| 20 74 68 65 20 72 69 67 | 68 74 20 6f 66 20 61 6e | the rig|ht of an|
|00002ad0| 79 20 63 6f 64 65 20 74 | 68 61 74 20 77 69 6c 6c |y code t|hat will|
|00002ae0| 20 65 78 65 63 75 74 65 | 2e 20 56 61 6c 69 64 20 | execute|. Valid |
|00002af0| 63 6f 6d 6d 65 6e 74 73 | 20 61 70 70 65 61 72 20 |comments| appear |
|00002b00| 69 6e 20 74 68 65 20 43 | 6f 64 65 20 45 64 69 74 |in the C|ode Edit|
|00002b10| 6f 72 20 69 6e 20 72 65 | 64 2e 03 01 5a 54 68 65 |or in re|d...ZThe|
|00002b20| 20 43 6f 6d 6d 61 6e 64 | 2d d5 20 6b 65 79 62 6f | Command|-. keybo|
|00002b30| 61 72 64 20 73 68 6f 72 | 74 63 75 74 20 74 6f 67 |ard shor|tcut tog|
|00002b40| 67 6c 65 73 20 74 68 65 | 20 73 65 6c 65 63 74 65 |gles the| selecte|
|00002b50| 64 20 6c 69 6e 65 73 20 | 6f 66 20 63 6f 64 65 20 |d lines |of code |
|00002b60| 62 65 74 77 65 65 6e 20 | 63 6f 6d 6d 65 6e 74 65 |between |commente|
|00002b70| 64 20 6f 75 74 20 61 6e | 64 20 d4 6c 69 76 65 d5 |d out an|d .live.|
|00002b80| 20 73 74 61 74 65 73 2e | 20 49 66 20 74 68 65 20 | states.| If the |
|00002b90| 69 6e 73 65 72 74 69 6f | 6e 20 70 6f 69 6e 74 20 |insertio|n point |
|00002ba0| 69 73 20 73 6f 6d 65 77 | 68 65 72 65 20 69 6e 20 |is somew|here in |
|00002bb0| 74 68 65 20 6d 69 64 64 | 6c 65 20 6f 66 20 74 68 |the midd|le of th|
|00002bc0| 65 20 6c 69 6e 65 20 77 | 68 65 6e 20 79 6f 75 20 |e line w|hen you |
|00002bd0| 70 72 65 73 73 20 43 6f | 6d 6d 61 6e 64 2d d5 2c |press Co|mmand-.,|
|00002be0| 20 74 68 65 20 65 6e 74 | 69 72 65 20 6c 69 6e 65 | the ent|ire line|
|00002bf0| 20 69 73 20 63 6f 6d 6d | 65 6e 74 65 64 20 6f 75 | is comm|ented ou|
|00002c00| 74 2e 20 49 66 20 79 6f | 75 20 6f 6e 6c 79 20 77 |t. If yo|u only w|
|00002c10| 61 6e 74 20 74 6f 20 63 | 6f 6d 6d 65 6e 74 20 6f |ant to c|omment o|
|00002c20| 75 74 20 74 68 65 20 74 | 65 78 74 20 74 6f 20 74 |ut the t|ext to t|
|00002c30| 68 65 20 72 69 67 68 74 | 20 6f 66 20 74 68 65 20 |he right| of the |
|00002c40| 69 6e 73 65 72 74 69 6f | 6e 20 70 6f 69 6e 74 2c |insertio|n point,|
|00002c50| 20 70 72 65 73 73 2c d5 | 20 6f 72 20 75 73 65 20 | press,.| or use |
|00002c60| 03 2f 0e 2f 2f 0f 2f 04 | 20 6f 72 20 0e 52 65 6d |././/./.| or .Rem|
|00002c70| 0f 03 52 65 6d 04 2e 02 | 00 07 45 78 61 6d 70 6c |..Rem...|..Exampl|
|00002c80| 65 03 00 50 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |e..PThe |followin|
|00002c90| 67 20 63 6f 64 65 20 75 | 73 65 73 20 63 6f 6d 6d |g code u|ses comm|
|00002ca0| 65 6e 74 73 20 74 6f 20 | 64 6f 63 75 6d 65 6e 74 |ents to |document|
|00002cb0| 20 74 68 65 20 72 65 73 | 75 6c 74 73 20 6f 66 20 | the res|ults of |
|00002cc0| 42 6f 6f 6c 65 61 6e 20 | 63 6f 6d 70 61 72 69 73 |Boolean |comparis|
|00002cd0| 6f 6e 73 3a 06 00 17 0e | 44 69 6d 0f 03 44 69 6d |ons:....|Dim..Dim|
|00002ce0| 04 20 61 20 41 73 20 42 | 6f 6f 6c 65 61 6e 06 00 |. a As B|oolean..|
|00002cf0| 17 0e 44 69 6d 0f 03 44 | 69 6d 04 20 62 20 41 73 |..Dim..D|im. b As|
|00002d00| 20 42 6f 6f 6c 65 61 6e | 06 00 17 0e 44 69 6d 0f | Boolean|....Dim.|
|00002d10| 03 44 69 6d 04 20 63 20 | 41 73 20 42 6f 6f 6c 65 |.Dim. c |As Boole|
|00002d20| 61 6e 06 00 17 0e 44 69 | 6d 0f 03 44 69 6d 04 20 |an....Di|m..Dim. |
|00002d30| 64 20 41 73 20 42 6f 6f | 6c 65 61 6e 06 00 0e 61 |d As Boo|lean...a|
|00002d40| 3d 0e 54 72 75 65 0f 03 | 54 72 75 65 04 06 00 10 |=.True..|True....|
|00002d50| 62 3d 0e 46 61 6c 73 65 | 0f 03 46 61 6c 73 65 04 |b=.False|..False.|
|00002d60| 06 00 24 64 3d 61 20 0e | 4f 72 0f 03 4f 72 04 20 |..$d=a .|Or..Or. |
|00002d70| 62 20 01 d5 02 20 45 76 | 61 6c 75 61 74 65 73 20 |b ... Ev|aluates |
|00002d80| 74 6f 20 54 72 75 65 07 | 00 27 64 3d 62 20 0e 41 |to True.|.'d=b .A|
|00002d90| 6e 64 0f 03 41 6e 64 04 | 20 63 20 01 d5 02 20 45 |nd..And.| c ... E|
|00002da0| 76 61 6c 75 61 74 65 73 | 20 74 6f 20 46 61 6c 73 |valuates| to Fals|
|00002db0| 65 02 00 08 53 65 65 20 | 41 6c 73 6f 03 00 28 0e |e...See |Also..(.|
|00002dc0| 52 65 6d 0f 03 52 65 6d | 04 20 73 74 61 74 65 6d |Rem..Rem|. statem|
|00002dd0| 65 6e 74 3b 03 20 0e 2f | 2f 0f 2f 2f 04 20 6f 70 |ent;. ./|/.//. op|
|00002de0| 65 72 61 74 6f 72 2e 0c | 00 0b 4f 70 65 72 61 74 |erator..|..Operat|
|00002df0| 6f 72 73 3a 2a 0d 00 01 | 2a 01 00 0a 2a 20 4f 70 |ors:*...|*...* Op|
|00002e00| 65 72 61 74 6f 72 03 00 | 1d 55 73 65 64 20 74 6f |erator..|.Used to|
|00002e10| 20 6d 75 6c 74 69 70 6c | 79 20 74 77 6f 20 6e 75 | multipl|y two nu|
|00002e20| 6d 62 65 72 73 2e 02 00 | 06 53 79 6e 74 61 78 03 |mbers...|.Syntax.|
|00002e30| 00 22 72 65 73 75 6c 74 | 3d 65 78 70 72 65 73 73 |."result|=express|
|00002e40| 69 6f 6e 31 20 01 2a 02 | 20 65 78 70 72 65 73 73 |ion1 .*.| express|
|00002e50| 69 6f 6e 32 04 00 04 50 | 61 72 74 00 04 54 79 70 |ion2...P|art..Typ|
|00002e60| 65 00 0b 44 65 73 63 72 | 69 70 74 69 6f 6e ff 05 |e..Descr|iption..|
|00002e70| 00 06 72 65 73 75 6c 74 | 00 06 4e 75 6d 62 65 72 |..result|..Number|
|00002e80| 00 2b 54 68 65 20 70 72 | 6f 64 75 63 74 20 6f 66 |.+The pr|oduct of|
|00002e90| 20 65 78 70 72 65 73 73 | 69 6f 6e 31 20 61 6e 64 | express|ion1 and|
|00002ea0| 20 65 78 70 72 65 73 73 | 69 6f 6e 32 2e ff 05 00 | express|ion2....|
|00002eb0| 0b 65 78 70 72 65 73 73 | 69 6f 6e 31 00 06 4e 75 |.express|ion1..Nu|
|00002ec0| 6d 62 65 72 00 17 41 6e | 79 20 6e 75 6d 65 72 69 |mber..An|y numeri|
|00002ed0| 63 20 65 78 70 72 65 73 | 73 69 6f 6e 2e ff 05 00 |c expres|sion....|
|00002ee0| 0b 65 78 70 72 65 73 73 | 69 6f 6e 32 00 06 4e 75 |.express|ion2..Nu|
|00002ef0| 6d 62 65 72 00 17 41 6e | 79 20 6e 75 6d 65 72 69 |mber..An|y numeri|
|00002f00| 63 20 65 78 70 72 65 73 | 73 69 6f 6e 2e ff 02 00 |c expres|sion....|
|00002f10| 08 45 78 61 6d 70 6c 65 | 73 03 00 3d 54 68 69 73 |.Example|s..=This|
|00002f20| 20 65 78 61 6d 70 6c 65 | 20 73 74 6f 72 65 73 20 | example| stores |
|00002f30| 74 68 65 20 70 72 6f 64 | 75 63 74 20 6f 66 20 74 |the prod|uct of t|
|00002f40| 77 6f 20 6e 75 6d 62 65 | 72 73 20 69 6e 20 61 20 |wo numbe|rs in a |
|00002f50| 76 61 72 69 61 62 6c 65 | 3a 06 00 17 0e 44 69 6d |variable|:....Dim|
|00002f60| 0f 03 44 69 6d 04 20 78 | 20 61 73 20 49 6e 74 65 |..Dim. x| as Inte|
|00002f70| 67 65 72 07 00 15 78 3d | 35 30 2a 33 30 20 20 20 |ger...x=|50*30 |
|00002f80| 2f 2f 78 20 69 73 20 31 | 35 30 30 0c 00 0b 4f 70 |//x is 1|500...Op|
|00002f90| 65 72 61 74 6f 72 73 3a | 2b 0d 00 01 2b 01 00 0a |erators:|+...+...|
|00002fa0| 2b 20 4f 70 65 72 61 74 | 6f 72 03 00 39 55 73 65 |+ Operat|or..9Use|
|00002fb0| 64 20 74 6f 20 73 75 6d | 20 74 77 6f 20 6e 75 6d |d to sum| two num|
|00002fc0| 62 65 72 73 20 6f 72 20 | 63 6f 6e 63 61 74 65 6e |bers or |concaten|
|00002fd0| 61 74 65 20 74 77 6f 20 | 73 74 72 69 6e 67 20 76 |ate two |string v|
|00002fe0| 61 6c 75 65 73 2e 02 00 | 06 53 79 6e 74 61 78 03 |alues...|.Syntax.|
|00002ff0| 00 22 54 68 65 20 01 2b | 02 20 6f 70 65 72 61 74 |."The .+|. operat|
|00003000| 6f 72 20 68 61 73 20 74 | 77 6f 20 73 79 6e 74 61 |or has t|wo synta|
|00003010| 78 65 73 3a 03 00 22 72 | 65 73 75 6c 74 3d 65 78 |xes:.."r|esult=ex|
|00003020| 70 72 65 73 73 69 6f 6e | 31 20 01 2b 02 20 65 78 |pression|1 .+. ex|
|00003030| 70 72 65 73 73 69 6f 6e | 32 04 00 04 50 61 72 74 |pression|2...Part|
|00003040| 00 04 54 79 70 65 00 0b | 44 65 73 63 72 69 70 74 |..Type..|Descript|
|00003050| 69 6f 6e ff 05 00 06 72 | 65 73 75 6c 74 00 06 4e |ion....r|esult..N|
|00003060| 75 6d 62 65 72 00 27 54 | 68 65 20 73 75 6d 20 6f |umber.'T|he sum o|
|00003070| 66 20 65 78 70 72 65 73 | 73 69 6f 6e 31 20 61 6e |f expres|sion1 an|
|00003080| 64 20 65 78 70 72 65 73 | 73 69 6f 6e 32 2e ff 05 |d expres|sion2...|
|00003090| 00 0b 65 78 70 72 65 73 | 73 69 6f 6e 31 00 06 4e |..expres|sion1..N|
|000030a0| 75 6d 62 65 72 00 17 41 | 6e 79 20 6e 75 6d 65 72 |umber..A|ny numer|
|000030b0| 69 63 20 65 78 70 72 65 | 73 73 69 6f 6e 2e ff 05 |ic expre|ssion...|
|000030c0| 00 0b 65 78 70 72 65 73 | 73 69 6f 6e 32 00 06 4e |..expres|sion2..N|
|000030d0| 75 6d 62 65 72 00 17 41 | 6e 79 20 6e 75 6d 65 72 |umber..A|ny numer|
|000030e0| 69 63 20 65 78 70 72 65 | 73 73 69 6f 6e 2e ff 03 |ic expre|ssion...|
|000030f0| 00 22 72 65 73 75 6c 74 | 3d 65 78 70 72 65 73 73 |."result|=express|
|00003100| 69 6f 6e 31 20 01 2b 02 | 20 65 78 70 72 65 73 73 |ion1 .+.| express|
|00003110| 69 6f 6e 32 04 00 04 50 | 61 72 74 00 04 54 79 70 |ion2...P|art..Typ|
|00003120| 65 00 0b 44 65 73 63 72 | 69 70 74 69 6f 6e ff 05 |e..Descr|iption..|
|00003130| 00 06 72 65 73 75 6c 74 | 00 06 53 74 72 69 6e 67 |..result|..String|
|00003140| 00 31 54 68 65 20 63 6f | 6e 63 61 74 65 6e 61 74 |.1The co|ncatenat|
|00003150| 69 6f 6e 20 6f 66 20 65 | 78 70 72 65 73 73 69 6f |ion of e|xpressio|
|00003160| 6e 31 20 61 6e 64 20 65 | 78 70 72 65 73 73 69 6f |n1 and e|xpressio|
|00003170| 6e 32 2e ff 05 00 0b 65 | 78 70 72 65 73 73 69 6f |n2.....e|xpressio|
|00003180| 6e 31 00 06 53 74 72 69 | 6e 67 00 16 41 6e 79 20 |n1..Stri|ng..Any |
|00003190| 73 74 72 69 6e 67 20 65 | 78 70 72 65 73 73 69 6f |string e|xpressio|
|000031a0| 6e 2e ff 05 00 0b 65 78 | 70 72 65 73 73 69 6f 6e |n.....ex|pression|
|000031b0| 32 00 06 53 74 72 69 6e | 67 00 16 41 6e 79 20 73 |2..Strin|g..Any s|
|000031c0| 74 72 69 6e 67 20 65 78 | 70 72 65 73 73 69 6f 6e |tring ex|pression|
|000031d0| 2e ff 02 00 08 45 78 61 | 6d 70 6c 65 73 03 00 2c |.....Exa|mples..,|
|000031e0| 54 68 69 73 20 65 78 61 | 6d 70 6c 65 73 20 61 64 |This exa|mples ad|
|000031f0| 64 73 20 73 65 76 65 72 | 61 6c 20 6e 75 6d 62 65 |ds sever|al numbe|
|00003200| 72 73 20 74 6f 67 65 74 | 68 65 72 3a 06 00 1c 0e |rs toget|her:....|
|00003210| 44 69 6d 0f 0e 44 69 6d | 0f 03 44 69 6d 04 20 78 |Dim..Dim|..Dim. x|
|00003220| 20 61 73 20 49 6e 74 65 | 67 65 72 07 00 07 78 3d | as Inte|ger...x=|
|00003230| 31 2b 32 2b 33 03 00 4a | 54 68 69 73 20 65 78 61 |1+2+3..J|This exa|
|00003240| 6d 70 6c 65 20 63 6f 6e | 63 61 74 65 6e 61 74 65 |mple con|catenate|
|00003250| 73 20 74 77 6f 20 73 74 | 72 69 6e 67 73 20 61 6e |s two st|rings an|
|00003260| 64 20 73 74 6f 72 65 73 | 20 74 68 65 20 72 65 73 |d stores| the res|
|00003270| 75 6c 74 20 69 6e 20 61 | 20 76 61 72 69 61 62 6c |ult in a| variabl|
|00003280| 65 3a 06 00 19 0e 44 69 | 6d 0f 03 44 69 6d 04 20 |e:....Di|m..Dim. |
|00003290| 6e 61 6d 65 20 61 73 20 | 53 74 72 69 6e 67 07 00 |name as |String..|
|000032a0| 26 6e 61 6d 65 3d 22 52 | 45 41 4c 22 2b 22 62 61 |&name="R|EAL"+"ba|
|000032b0| 73 69 63 22 20 2f 2f 6e | 61 6d 65 20 3d 20 52 45 |sic" //n|ame = RE|
|000032c0| 41 4c 62 61 73 69 63 02 | 00 08 53 65 65 20 41 6c |ALbasic.|..See Al|
|000032d0| 73 6f 03 00 14 0e 53 74 | 72 0f 03 53 74 72 04 20 |so....St|r..Str. |
|000032e0| 66 75 6e 63 74 69 6f 6e | 2e 0c 00 0b 4f 70 65 72 |function|....Oper|
|000032f0| 61 74 6f 72 73 3a 2f 0d | 00 01 2f 01 00 0a 2f 20 |ators:/.|../.../ |
|00003300| 4f 70 65 72 61 74 6f 72 | 03 00 3c 55 73 65 64 20 |Operator|..<Used |
|00003310| 74 6f 20 70 65 72 66 6f | 72 6d 20 66 6c 6f 61 74 |to perfo|rm float|
|00003320| 69 6e 67 20 70 6f 69 6e | 74 20 64 69 76 69 73 69 |ing poin|t divisi|
|00003330| 6f 6e 20 62 65 74 77 65 | 65 6e 20 74 77 6f 20 6e |on betwe|en two n|
|00003340| 75 6d 62 65 72 73 2e 02 | 00 06 53 79 6e 74 61 78 |umbers..|..Syntax|
|00003350| 03 00 22 72 65 73 75 6c | 74 3d 65 78 70 72 65 73 |.."resul|t=expres|
|00003360| 73 69 6f 6e 31 20 01 2f | 02 20 65 78 70 72 65 73 |sion1 ./|. expres|
|00003370| 73 69 6f 6e 32 04 00 04 | 50 61 72 74 00 04 54 79 |sion2...|Part..Ty|
|00003380| 70 65 00 0b 44 65 73 63 | 72 69 70 74 69 6f 6e ff |pe..Desc|ription.|
|00003390| 05 00 06 72 65 73 75 6c | 74 00 06 4e 75 6d 62 65 |...resul|t..Numbe|
|000033a0| 72 00 2c 54 68 65 20 64 | 69 76 69 73 69 6f 6e 20 |r.,The d|ivision |
|000033b0| 6f 66 20 65 78 70 72 65 | 73 73 69 6f 6e 31 20 61 |of expre|ssion1 a|
|000033c0| 6e 64 20 65 78 70 72 65 | 73 73 69 6f 6e 32 2e ff |nd expre|ssion2..|
|000033d0| 05 00 0b 65 78 70 72 65 | 73 73 69 6f 6e 31 00 06 |...expre|ssion1..|
|000033e0| 4e 75 6d 62 65 72 00 17 | 41 6e 79 20 6e 75 6d 65 |Number..|Any nume|
|000033f0| 72 69 63 20 65 78 70 72 | 65 73 73 69 6f 6e 2e ff |ric expr|ession..|
|00003400| 05 00 0b 65 78 70 72 65 | 73 73 69 6f 6e 32 00 06 |...expre|ssion2..|
|00003410| 4e 75 6d 62 65 72 00 17 | 41 6e 79 20 6e 75 6d 65 |Number..|Any nume|
|00003420| 72 69 63 20 65 78 70 72 | 65 73 73 69 6f 6e 2e ff |ric expr|ession..|
|00003430| 02 00 05 4e 6f 74 65 73 | 03 00 62 55 73 65 20 74 |...Notes|..bUse t|
|00003440| 68 69 73 20 6f 70 65 72 | 61 74 6f 72 20 77 68 65 |his oper|ator whe|
|00003450| 6e 20 79 6f 75 20 72 65 | 71 75 69 72 65 20 64 69 |n you re|quire di|
|00003460| 76 69 73 69 6f 6e 20 74 | 68 61 74 20 63 6f 6e 73 |vision t|hat cons|
|00003470| 69 64 65 72 73 20 74 68 | 65 20 64 65 63 69 6d 61 |iders th|e decima|
|00003480| 6c 20 70 6f 72 74 69 6f | 6e 20 6f 66 20 74 68 65 |l portio|n of the|
|00003490| 20 65 78 70 72 65 73 73 | 69 6f 6e 73 2e 02 00 08 | express|ions....|
|000034a0| 45 78 61 6d 70 6c 65 73 | 03 00 3e 54 68 69 73 20 |Examples|..>This |
|000034b0| 65 78 61 6d 70 6c 65 20 | 73 74 6f 72 65 73 20 74 |example |stores t|
|000034c0| 68 65 20 71 75 6f 74 69 | 65 6e 74 20 6f 66 20 74 |he quoti|ent of t|
|000034d0| 77 6f 20 6e 75 6d 62 65 | 72 73 20 69 6e 20 61 20 |wo numbe|rs in a |
|000034e0| 76 61 72 69 61 62 6c 65 | 3a 06 00 16 0e 44 69 6d |variable|:....Dim|
|000034f0| 0f 03 44 69 6d 04 20 78 | 20 61 73 20 44 6f 75 62 |..Dim. x| as Doub|
|00003500| 6c 65 07 00 20 78 3d 35 | 30 2e 35 36 2f 33 30 2e |le.. x=5|0.56/30.|
|00003510| 33 34 20 20 20 2f 2f 78 | 20 69 73 20 31 2e 36 36 |34 //x| is 1.66|
|00003520| 36 34 34 36 39 02 00 08 | 53 65 65 20 41 6c 73 6f |64469...|See Also|
|00003530| 03 00 1e 0e 5c 5c 0f 03 | 5c 04 2c 20 0e 4d 6f 64 |....\\..|\., .Mod|
|00003540| 0f 03 4d 6f 64 04 20 6f | 70 65 72 61 74 6f 72 73 |..Mod. o|perators|
|00003550| 2e 0d 00 02 2f 2f 0c 00 | 11 43 6f 64 65 20 45 78 |....//..|.Code Ex|
|00003560| 65 63 75 74 69 6f 6e 3a | 2f 2f 01 00 0b 2f 2f 20 |ecution:|//...// |
|00003570| 4f 70 65 72 61 74 6f 72 | 03 00 1d 55 73 65 64 20 |Operator|...Used |
|00003580| 74 6f 20 61 64 64 20 63 | 6f 6d 6d 65 6e 74 73 20 |to add c|omments |
|00003590| 74 6f 20 63 6f 64 65 2e | 02 00 06 53 79 6e 74 61 |to code.|...Synta|
|000035a0| 78 03 00 10 01 2f 2f 02 | 20 74 65 78 74 20 73 74 |x....//.| text st|
|000035b0| 72 69 6e 67 02 00 05 4e | 6f 74 65 73 03 00 89 52 |ring...N|otes...R|
|000035c0| 45 41 4c 62 61 73 69 63 | d5 73 20 63 6f 6d 70 69 |EALbasic|.s compi|
|000035d0| 6c 65 72 20 77 69 6c 6c | 20 69 67 6e 6f 72 65 20 |ler will| ignore |
|000035e0| 61 6e 79 20 63 6f 6d 6d | 65 6e 74 73 20 79 6f 75 |any comm|ents you|
|000035f0| 20 65 6e 74 65 72 20 66 | 6f 6c 6c 6f 77 69 6e 67 | enter f|ollowing|
|00003600| 20 74 68 65 20 2f 2f 20 | 6f 70 65 72 61 74 6f 72 | the // |operator|
|00003610| 2e 20 43 6f 6d 6d 65 6e | 74 73 20 61 72 65 20 6e |. Commen|ts are n|
|00003620| 6f 74 20 69 6e 63 6c 75 | 64 65 64 20 69 6e 20 73 |ot inclu|ded in s|
|00003630| 74 61 6e 64 2d 61 6c 6f | 6e 65 20 61 70 70 6c 69 |tand-alo|ne appli|
|00003640| 63 61 74 69 6f 6e 73 2e | 03 01 0f 54 68 65 0e 5c |cations.|...The.\|
|00003650| 71 0f d5 20 28 61 70 6f | 73 74 72 6f 70 68 65 29 |q.. (apo|strophe)|
|00003660| 20 6f 72 20 0e 52 65 6d | 0f 03 52 65 6d 04 20 73 | or .Rem|..Rem. s|
|00003670| 74 61 74 65 6d 65 6e 74 | 20 63 61 6e 20 62 65 20 |tatement| can be |
|00003680| 75 73 65 64 20 74 6f 20 | 63 6f 6d 6d 65 6e 74 20 |used to |comment |
|00003690| 63 6f 64 65 20 61 73 20 | 77 65 6c 6c 2e 20 43 6f |code as |well. Co|
|000036a0| 6d 6d 65 6e 74 73 20 63 | 61 6e 20 61 70 70 65 61 |mments c|an appea|
|000036b0| 72 20 6f 6e 20 73 65 70 | 61 72 61 74 65 20 6c 69 |r on sep|arate li|
|000036c0| 6e 65 73 20 6f 72 20 6f | 6e 20 74 68 65 20 73 61 |nes or o|n the sa|
|000036d0| 6d 65 20 6c 69 6e 65 20 | 61 73 20 65 78 65 63 75 |me line |as execu|
|000036e0| 74 61 62 6c 65 20 63 6f | 64 65 2c 20 70 72 6f 76 |table co|de, prov|
|000036f0| 69 64 65 64 20 74 68 65 | 79 20 61 72 65 20 74 6f |ided the|y are to|
|00003700| 20 74 68 65 20 72 69 67 | 68 74 20 6f 66 20 61 6e | the rig|ht of an|
|00003710| 79 20 63 6f 64 65 20 74 | 68 61 74 20 77 69 6c 6c |y code t|hat will|
|00003720| 20 65 78 65 63 75 74 65 | 2e 20 56 61 6c 69 64 20 | execute|. Valid |
|00003730| 63 6f 6d 6d 65 6e 74 73 | 20 61 70 70 65 61 72 20 |comments| appear |
|00003740| 69 6e 20 74 68 65 20 43 | 6f 64 65 20 45 64 69 74 |in the C|ode Edit|
|00003750| 6f 72 20 69 6e 20 72 65 | 64 2e 03 00 6c 54 68 65 |or in re|d...lThe|
|00003760| 20 43 6f 6d 6d 61 6e 64 | 2d d5 20 6b 65 79 62 6f | Command|-. keybo|
|00003770| 61 72 64 20 73 68 6f 72 | 74 63 75 74 20 74 6f 67 |ard shor|tcut tog|
|00003780| 67 6c 65 73 20 74 68 65 | 20 73 65 6c 65 63 74 65 |gles the| selecte|
|00003790| 64 20 6c 69 6e 65 73 20 | 6f 66 20 63 6f 64 65 20 |d lines |of code |
|000037a0| 62 65 74 77 65 65 6e 20 | 63 6f 6d 6d 65 6e 74 65 |between |commente|
|000037b0| 64 20 6f 75 74 20 61 6e | 64 20 d4 6c 69 76 65 d5 |d out an|d .live.|
|000037c0| 20 73 74 61 74 65 73 2e | 20 02 00 07 45 78 61 6d | states.| ...Exam|
|000037d0| 70 6c 65 03 00 50 54 68 | 65 20 66 6f 6c 6c 6f 77 |ple..PTh|e follow|
|000037e0| 69 6e 67 20 63 6f 64 65 | 20 75 73 65 73 20 63 6f |ing code| uses co|
|000037f0| 6d 6d 65 6e 74 73 20 74 | 6f 20 64 6f 63 75 6d 65 |mments t|o docume|
|00003800| 6e 74 20 74 68 65 20 72 | 65 73 75 6c 74 73 20 6f |nt the r|esults o|
|00003810| 66 20 42 6f 6f 6c 65 61 | 6e 20 63 6f 6d 70 61 72 |f Boolea|n compar|
|00003820| 69 73 6f 6e 73 3a 06 00 | 17 0e 44 69 6d 0f 03 44 |isons:..|..Dim..D|
|00003830| 69 6d 04 20 61 20 41 73 | 20 42 6f 6f 6c 65 61 6e |im. a As| Boolean|
|00003840| 06 00 17 0e 44 69 6d 0f | 03 44 69 6d 04 20 62 20 |....Dim.|.Dim. b |
|00003850| 41 73 20 42 6f 6f 6c 65 | 61 6e 06 00 17 0e 44 69 |As Boole|an....Di|
|00003860| 6d 0f 03 44 69 6d 04 20 | 63 20 41 73 20 42 6f 6f |m..Dim. |c As Boo|
|00003870| 6c 65 61 6e 06 00 17 0e | 44 69 6d 0f 03 44 69 6d |lean....|Dim..Dim|
|00003880| 04 20 64 20 41 73 20 42 | 6f 6f 6c 65 61 6e 06 00 |. d As B|oolean..|
|00003890| 0e 61 3d 0e 54 72 75 65 | 0f 03 54 72 75 65 04 06 |.a=.True|..True..|
|000038a0| 00 10 62 3d 0e 46 61 6c | 73 65 0f 03 46 61 6c 73 |..b=.Fal|se..Fals|
|000038b0| 65 04 06 00 25 64 3d 61 | 20 0e 4f 72 0f 03 4f 72 |e...%d=a| .Or..Or|
|000038c0| 04 20 62 20 01 2f 2f 02 | 20 45 76 61 6c 75 61 74 |. b .//.| Evaluat|
|000038d0| 65 73 20 74 6f 20 54 72 | 75 65 07 00 28 64 3d 62 |es to Tr|ue..(d=b|
|000038e0| 20 0e 41 6e 64 0f 03 41 | 6e 64 04 20 63 20 01 2f | .And..A|nd. c ./|
|000038f0| 2f 02 20 45 76 61 6c 75 | 61 74 65 73 20 74 6f 20 |/. Evalu|ates to |
|00003900| 46 61 6c 73 65 02 00 08 | 53 65 65 20 41 6c 73 6f |False...|See Also|
|00003910| 03 00 26 0e 52 65 6d 0f | 03 52 65 6d 04 20 73 74 |..&.Rem.|.Rem. st|
|00003920| 61 74 65 6d 65 6e 74 3b | 0e 5c 71 0f 03 d5 04 20 |atement;|.\q.... |
|00003930| 6f 70 65 72 61 74 6f 72 | 2e 0d 00 01 3c 0c 00 0c |operator|....<...|
|00003940| 4f 70 65 72 61 74 6f 72 | 73 3a 5c 3c 01 00 0a 3c |Operator|s:\<...<|
|00003950| 20 4f 70 65 72 61 74 6f | 72 03 00 85 55 73 65 64 | Operato|r...Used|
|00003960| 20 74 6f 20 64 65 74 65 | 72 6d 69 6e 65 20 77 68 | to dete|rmine wh|
|00003970| 65 74 68 65 72 20 6f 6e | 65 20 71 75 61 6e 74 69 |ether on|e quanti|
|00003980| 74 61 74 69 76 65 20 6f | 72 20 61 6c 70 68 61 62 |tative o|r alphab|
|00003990| 65 74 69 63 20 65 78 70 | 72 65 73 73 69 6f 6e 20 |etic exp|ression |
|000039a0| 69 73 20 73 6d 61 6c 6c | 65 72 20 74 68 61 6e 20 |is small|er than |
|000039b0| 61 6e 6f 74 68 65 72 2e | 20 53 74 72 69 6e 67 20 |another.| String |
|000039c0| 63 6f 6d 70 61 72 69 73 | 6f 6e 73 20 61 72 65 20 |comparis|ons are |
|000039d0| 63 61 73 65 2d 69 6e 73 | 65 6e 73 69 74 69 76 65 |case-ins|ensitive|
|000039e0| 2e 02 00 06 53 79 6e 74 | 61 78 03 00 20 72 65 73 |....Synt|ax.. res|
|000039f0| 75 6c 74 3d 65 78 70 72 | 65 73 73 69 6f 6e 31 20 |ult=expr|ession1 |
|00003a00| 3c 20 65 78 70 72 65 73 | 73 69 6f 6e 32 04 00 04 |< expres|sion2...|
|00003a10| 50 61 72 74 00 04 54 79 | 70 65 00 0b 44 65 73 63 |Part..Ty|pe..Desc|
|00003a20| 72 69 70 74 69 6f 6e ff | 05 00 06 72 65 73 75 6c |ription.|...resul|
|00003a30| 74 00 07 42 6f 6f 6c 65 | 61 6e 00 40 52 65 74 75 |t..Boole|an.@Retu|
|00003a40| 72 6e 73 20 0e 54 72 75 | 65 0f 03 54 72 75 65 04 |rns .Tru|e..True.|
|00003a50| 20 69 66 20 65 78 70 72 | 65 73 73 69 6f 6e 31 20 | if expr|ession1 |
|00003a60| 69 73 20 73 6d 61 6c 6c | 65 72 20 74 68 61 6e 20 |is small|er than |
|00003a70| 65 78 70 72 65 73 73 69 | 6f 6e 32 2e ff 05 00 0b |expressi|on2.....|
|00003a80| 65 78 70 72 65 73 73 69 | 6f 6e 31 00 16 53 74 72 |expressi|on1..Str|
|00003a90| 69 6e 67 2c 20 4e 75 6d | 62 65 72 20 6f 72 20 64 |ing, Num|ber or d|
|00003aa0| 61 74 65 00 2a 41 6e 79 | 20 61 6c 70 68 61 62 65 |ate.*Any| alphabe|
|00003ab0| 74 69 63 20 6f 72 20 71 | 75 61 6e 74 69 74 61 74 |tic or q|uantitat|
|00003ac0| 69 76 65 20 65 78 70 72 | 65 73 73 69 6f 6e 2e ff |ive expr|ession..|
|00003ad0| 05 00 0b 65 78 70 72 65 | 73 73 69 6f 6e 32 00 16 |...expre|ssion2..|
|00003ae0| 53 74 72 69 6e 67 2c 20 | 4e 75 6d 62 65 72 20 6f |String, |Number o|
|00003af0| 72 20 64 61 74 65 00 2a | 41 6e 79 20 61 6c 70 68 |r date.*|Any alph|
|00003b00| 61 62 65 74 69 63 20 6f | 72 20 71 75 61 6e 74 69 |abetic o|r quanti|
|00003b10| 74 61 74 69 76 65 20 65 | 78 70 72 65 73 73 69 6f |tative e|xpressio|
|00003b20| 6e 2e ff 02 00 07 45 78 | 61 6d 70 6c 65 06 00 19 |n.....Ex|ample...|
|00003b30| 0e 44 69 6d 0f 03 44 69 | 6d 04 20 61 2c 62 20 61 |.Dim..Di|m. a,b a|
|00003b40| 73 20 49 6e 74 65 67 65 | 72 06 00 57 0e 49 66 0f |s Intege|r..W.If.|
|00003b50| 03 49 66 04 20 0e 45 64 | 69 74 66 69 65 6c 64 0f |.If. .Ed|itfield.|
|00003b60| 03 45 64 69 74 66 69 65 | 6c 64 31 04 2e 74 65 78 |.Editfie|ld1..tex|
|00003b70| 74 20 3c 3e 20 22 22 20 | 61 6e 64 20 0e 45 64 69 |t <> "" |and .Edi|
|00003b80| 74 46 69 65 6c 64 0f 03 | 45 64 69 74 46 69 65 6c |tField..|EditFiel|
|00003b90| 64 32 04 2e 74 65 78 74 | 20 3c 3e 20 22 22 20 74 |d2..text| <> "" t|
|00003ba0| 68 65 6e 06 00 2a 61 3d | 0e 56 61 6c 0f 03 56 61 |hen..*a=|.Val..Va|
|00003bb0| 6c 04 28 0e 45 64 69 74 | 66 69 65 6c 64 0f 03 45 |l.(.Edit|field..E|
|00003bc0| 64 69 74 66 69 65 6c 64 | 31 04 2e 74 65 78 74 29 |ditfield|1..text)|
|00003bd0| 06 00 2a 62 3d 0e 56 61 | 6c 0f 03 56 61 6c 04 28 |..*b=.Va|l..Val.(|
|00003be0| 0e 45 64 69 74 46 69 65 | 6c 64 0f 03 45 64 69 74 |.EditFie|ld..Edit|
|00003bf0| 46 69 65 6c 64 32 04 2e | 74 65 78 74 29 06 00 13 |Field2..|text)...|
|00003c00| 0e 49 66 0f 03 49 66 04 | 20 61 01 3c 02 62 20 74 |.If..If.| a.<.b t|
|00003c10| 68 65 6e 06 00 24 0e 4d | 73 67 42 6f 78 0f 03 4d |hen..$.M|sgBox..M|
|00003c20| 73 67 42 6f 78 04 20 22 | 41 20 69 73 20 4c 65 73 |sgBox. "|A is Les|
|00003c30| 73 20 54 68 61 6e 20 42 | 21 22 06 00 04 65 6c 73 |s Than B|!"...els|
|00003c40| 65 06 00 0c 0e 42 65 65 | 70 0f 03 42 65 65 70 04 |e....Bee|p..Beep.|
|00003c50| 06 00 06 65 6e 64 20 69 | 66 06 00 04 65 6c 73 65 |...end i|f...else|
|00003c60| 06 00 38 0e 4d 73 67 42 | 6f 78 0f 03 4d 73 67 42 |..8.MsgB|ox..MsgB|
|00003c70| 6f 78 04 20 22 50 6c 65 | 61 73 65 20 65 6e 74 65 |ox. "Ple|ase ente|
|00003c80| 72 20 6e 75 6d 62 65 72 | 73 20 69 6e 74 6f 20 62 |r number|s into b|
|00003c90| 6f 74 68 20 62 6f 78 65 | 73 21 22 07 00 06 65 6e |oth boxe|s!"...en|
|00003ca0| 64 20 69 66 02 00 08 53 | 65 65 20 41 6c 73 6f 03 |d if...S|ee Also.|
|00003cb0| 00 3f 0e 5c 3e 3d 0f 03 | 3e 04 2c 03 20 0e 5c 3e |.?.\>=..|>.,. .\>|
|00003cc0| 3d 0f 3e 3d 04 2c 03 20 | 0e 3c 3d 0f 3c 3d 04 2c |=.>=.,. |.<=.<=.,|
|00003cd0| 20 0e 3d 0f 03 3d 04 2c | 20 61 6e 64 20 0e 3c 5c | .=..=.,| and .<\|
|00003ce0| 3e 0f 03 3c 3e 04 20 6f | 70 65 72 61 74 6f 72 73 |>..<>. o|perators|
|00003cf0| 2e 0d 00 02 3c 3d 0c 00 | 0d 4f 70 65 72 61 74 6f |....<=..|.Operato|
|00003d00| 72 73 3a 5c 3c 3d 01 00 | 0b 3c 3d 20 4f 70 65 72 |rs:\<=..|.<= Oper|
|00003d10| 61 74 6f 72 03 00 91 55 | 73 65 64 20 74 6f 20 64 |ator...U|sed to d|
|00003d20| 65 74 65 72 6d 69 6e 65 | 20 77 68 65 74 68 65 72 |etermine| whether|
|00003d30| 20 6f 6e 65 20 61 6c 70 | 68 61 62 65 74 69 63 20 | one alp|habetic |
|00003d40| 6f 72 20 71 75 61 6e 74 | 69 74 61 74 69 76 65 20 |or quant|itative |
|00003d50| 65 78 70 72 65 73 73 69 | 6f 6e 20 69 73 20 73 6d |expressi|on is sm|
|00003d60| 61 6c 6c 65 72 20 74 68 | 61 6e 20 6f 72 20 65 71 |aller th|an or eq|
|00003d70| 75 61 6c 20 74 6f 20 61 | 6e 6f 74 68 65 72 2e 20 |ual to a|nother. |
|00003d80| 53 74 72 69 6e 67 20 63 | 6f 6d 70 61 72 69 73 6f |String c|ompariso|
|00003d90| 6e 73 20 61 72 65 20 63 | 61 73 65 2d 69 6e 73 65 |ns are c|ase-inse|
|00003da0| 6e 73 69 74 69 76 65 2e | 02 00 06 53 79 6e 74 61 |nsitive.|...Synta|
|00003db0| 78 03 00 20 72 65 73 75 | 6c 74 3d 65 78 70 72 65 |x.. resu|lt=expre|
|00003dc0| 73 73 69 6f 6e 31 20 3c | 20 65 78 70 72 65 73 73 |ssion1 <| express|
|00003dd0| 69 6f 6e 32 04 00 04 50 | 61 72 74 00 04 54 79 70 |ion2...P|art..Typ|
|00003de0| 65 00 0b 44 65 73 63 72 | 69 70 74 69 6f 6e ff 05 |e..Descr|iption..|
|00003df0| 00 06 72 65 73 75 6c 74 | 00 07 42 6f 6f 6c 65 61 |..result|..Boolea|
|00003e00| 6e 00 4c 52 65 74 75 72 | 6e 73 20 0e 54 72 75 65 |n.LRetur|ns .True|
|00003e10| 0f 03 54 72 75 65 04 20 | 69 66 20 65 78 70 72 65 |..True. |if expre|
|00003e20| 73 73 69 6f 6e 31 20 69 | 73 20 73 6d 61 6c 6c 65 |ssion1 i|s smalle|
|00003e30| 72 20 74 68 61 6e 20 6f | 72 20 65 71 75 61 6c 20 |r than o|r equal |
|00003e40| 74 6f 20 65 78 70 72 65 | 73 73 69 6f 6e 32 2e ff |to expre|ssion2..|
|00003e50| 05 00 0b 65 78 70 72 65 | 73 73 69 6f 6e 31 00 17 |...expre|ssion1..|
|00003e60| 53 74 72 69 6e 67 2c 20 | 4e 75 6d 62 65 72 2c 20 |String, |Number, |
|00003e70| 6f 72 20 64 61 74 65 00 | 2a 41 6e 79 20 61 6c 70 |or date.|*Any alp|
|00003e80| 68 61 62 65 74 69 63 20 | 6f 72 20 71 75 61 6e 74 |habetic |or quant|
|00003e90| 69 74 61 74 69 76 65 20 | 65 78 70 72 65 73 73 69 |itative |expressi|
|00003ea0| 6f 6e 2e ff 05 00 0b 65 | 78 70 72 65 73 73 69 6f |on.....e|xpressio|
|00003eb0| 6e 32 00 17 53 74 72 69 | 6e 67 2c 20 4e 75 6d 62 |n2..Stri|ng, Numb|
|00003ec0| 65 72 2c 20 6f 72 20 64 | 61 74 65 00 2a 41 6e 79 |er, or d|ate.*Any|
|00003ed0| 20 61 6c 70 68 61 62 65 | 74 69 63 20 6f 72 20 71 | alphabe|tic or q|
|00003ee0| 75 61 6e 74 69 74 61 74 | 69 76 65 20 65 78 70 72 |uantitat|ive expr|
|00003ef0| 65 73 73 69 6f 6e 2e ff | 02 00 07 45 78 61 6d 70 |ession..|...Examp|
|00003f00| 6c 65 06 00 19 0e 44 69 | 6d 0f 03 44 69 6d 04 20 |le....Di|m..Dim. |
|00003f10| 61 2c 62 20 61 73 20 49 | 6e 74 65 67 65 72 06 00 |a,b as I|nteger..|
|00003f20| 57 0e 49 66 0f 03 49 66 | 04 20 0e 45 64 69 74 66 |W.If..If|. .Editf|
|00003f30| 69 65 6c 64 0f 03 45 64 | 69 74 66 69 65 6c 64 31 |ield..Ed|itfield1|
|00003f40| 04 2e 74 65 78 74 20 3c | 3e 20 22 22 20 61 6e 64 |..text <|> "" and|
|00003f50| 20 0e 45 64 69 74 46 69 | 65 6c 64 0f 03 45 64 69 | .EditFi|eld..Edi|
|00003f60| 74 46 69 65 6c 64 32 04 | 2e 74 65 78 74 20 3c 3e |tField2.|.text <>|
|00003f70| 20 22 22 20 74 68 65 6e | 06 00 2a 61 3d 0e 56 61 | "" then|..*a=.Va|
|00003f80| 6c 0f 03 56 61 6c 04 28 | 0e 45 64 69 74 66 69 65 |l..Val.(|.Editfie|
|00003f90| 6c 64 0f 03 45 64 69 74 | 66 69 65 6c 64 31 04 2e |ld..Edit|field1..|
|00003fa0| 74 65 78 74 29 06 00 2a | 62 3d 0e 56 61 6c 0f 03 |text)..*|b=.Val..|
|00003fb0| 56 61 6c 04 28 0e 45 64 | 69 74 46 69 65 6c 64 0f |Val.(.Ed|itField.|
|00003fc0| 03 45 64 69 74 46 69 65 | 6c 64 32 04 2e 74 65 78 |.EditFie|ld2..tex|
|00003fd0| 74 29 06 00 14 0e 49 66 | 0f 03 49 66 04 20 61 01 |t)....If|..If. a.|
|00003fe0| 3c 3d 02 62 20 74 68 65 | 6e 06 00 30 0e 4d 73 67 |<=.b the|n..0.Msg|
|00003ff0| 42 6f 78 0f 03 4d 73 67 | 42 6f 78 04 20 22 41 20 |Box..Msg|Box. "A |
|00004000| 69 73 20 6c 65 73 73 20 | 74 68 61 6e 20 6f 72 20 |is less |than or |
|00004010| 65 71 75 61 6c 20 74 6f | 20 42 21 22 06 00 04 65 |equal to| B!"...e|
|00004020| 6c 73 65 06 00 0c 0e 42 | 65 65 70 0f 03 42 65 65 |lse....B|eep..Bee|
|00004030| 70 04 06 00 06 65 6e 64 | 20 69 66 06 00 04 65 6c |p....end| if...el|
|00004040| 73 65 06 00 38 0e 4d 73 | 67 42 6f 78 0f 03 4d 73 |se..8.Ms|gBox..Ms|
|00004050| 67 42 6f 78 04 20 22 50 | 6c 65 61 73 65 20 65 6e |gBox. "P|lease en|
|00004060| 74 65 72 20 6e 75 6d 62 | 65 72 73 20 69 6e 74 6f |ter numb|ers into|
|00004070| 20 62 6f 74 68 20 62 6f | 78 65 73 21 22 07 00 06 | both bo|xes!"...|
|00004080| 65 6e 64 20 69 66 02 00 | 08 53 65 65 20 41 6c 73 |end if..|.See Als|
|00004090| 6f 03 00 3d 0e 5c 3e 3d | 0f 03 3e 04 2c 03 20 0e |o..=.\>=|..>.,. .|
|000040a0| 5c 3e 3d 0f 3e 3d 04 2c | 03 20 0e 3c 0f 3c 04 2c |\>=.>=.,|. .<.<.,|
|000040b0| 20 0e 3d 0f 03 3d 04 2c | 20 61 6e 64 20 0e 3c 5c | .=..=.,| and .<\|
|000040c0| 3e 0f 03 3c 3e 04 20 6f | 70 65 72 61 74 6f 72 73 |>..<>. o|perators|
|000040d0| 2e 0d 00 02 3c 3e 0c 00 | 0e 4f 70 65 72 61 74 6f |....<>..|.Operato|
|000040e0| 72 73 3a 5c 3c 5c 3e 01 | 00 0b 3c 3e 20 4f 70 65 |rs:\<\>.|..<> Ope|
|000040f0| 72 61 74 6f 72 03 00 6a | 55 73 65 64 20 74 6f 20 |rator..j|Used to |
|00004100| 64 65 74 65 72 6d 69 6e | 65 20 77 68 65 74 68 65 |determin|e whethe|
|00004110| 72 20 6f 6e 65 20 65 78 | 70 72 65 73 73 69 6f 6e |r one ex|pression|
|00004120| 20 69 73 20 6e 6f 74 20 | 65 71 75 61 6c 20 74 6f | is not |equal to|
|00004130| 20 61 6e 6f 74 68 65 72 | 2e 20 53 74 72 69 6e 67 | another|. String|
|00004140| 20 63 6f 6d 70 61 72 69 | 73 6f 6e 73 20 61 72 65 | compari|sons are|
|00004150| 20 63 61 73 65 2d 69 6e | 73 65 6e 73 69 74 69 76 | case-in|sensitiv|
|00004160| 65 2e 02 00 06 53 79 6e | 74 61 78 03 00 21 72 65 |e....Syn|tax..!re|
|00004170| 73 75 6c 74 3d 65 78 70 | 72 65 73 73 69 6f 6e 31 |sult=exp|ression1|
|00004180| 20 3c 3e 20 65 78 70 72 | 65 73 73 69 6f 6e 32 04 | <> expr|ession2.|
|00004190| 00 04 50 61 72 74 00 04 | 54 79 70 65 00 0b 44 65 |..Part..|Type..De|
|000041a0| 73 63 72 69 70 74 69 6f | 6e ff 05 00 06 72 65 73 |scriptio|n....res|
|000041b0| 75 6c 74 00 07 42 6f 6f | 6c 65 61 6e 00 40 52 65 |ult..Boo|lean.@Re|
|000041c0| 74 75 72 6e 73 20 0e 54 | 72 75 65 0f 03 54 72 75 |turns .T|rue..Tru|
|000041d0| 65 04 20 69 66 20 65 78 | 70 72 65 73 73 69 6f 6e |e. if ex|pression|
|000041e0| 31 20 69 73 20 6e 6f 74 | 20 65 71 75 61 6c 20 74 |1 is not| equal t|
|000041f0| 6f 20 65 78 70 72 65 73 | 73 69 6f 6e 32 2e ff 05 |o expres|sion2...|
|00004200| 00 0b 65 78 70 72 65 73 | 73 69 6f 6e 31 00 17 53 |..expres|sion1..S|
|00004210| 74 72 69 6e 67 2c 20 4e | 75 6d 62 65 72 2c 20 6f |tring, N|umber, o|
|00004220| 72 20 64 61 74 65 00 2a | 41 6e 79 20 61 6c 70 68 |r date.*|Any alph|
|00004230| 61 62 65 74 69 63 20 6f | 72 20 71 75 61 6e 74 69 |abetic o|r quanti|
|00004240| 74 61 74 69 76 65 20 65 | 78 70 72 65 73 73 69 6f |tative e|xpressio|
|00004250| 6e 2e ff 05 00 0b 65 78 | 70 72 65 73 73 69 6f 6e |n.....ex|pression|
|00004260| 32 00 17 53 74 72 69 6e | 67 2c 20 4e 75 6d 62 65 |2..Strin|g, Numbe|
|00004270| 72 2c 20 6f 72 20 64 61 | 74 65 00 2a 41 6e 79 20 |r, or da|te.*Any |
|00004280| 61 6c 70 68 61 62 65 74 | 69 63 20 6f 72 20 71 75 |alphabet|ic or qu|
|00004290| 61 6e 74 69 74 61 74 69 | 76 65 20 65 78 70 72 65 |antitati|ve expre|
|000042a0| 73 73 69 6f 6e 2e ff 02 | 00 04 4e 6f 74 65 03 00 |ssion...|..Note..|
|000042b0| 39 54 68 65 20 64 61 74 | 61 20 74 79 70 65 73 20 |9The dat|a types |
|000042c0| 6f 66 20 65 78 70 72 65 | 73 73 69 6f 6e 31 20 61 |of expre|ssion1 a|
|000042d0| 6e 64 20 65 78 70 72 65 | 73 73 69 6f 6e 32 20 6d |nd expre|ssion2 m|
|000042e0| 75 73 74 20 6d 61 74 63 | 68 2e 02 00 07 45 78 61 |ust matc|h....Exa|
|000042f0| 6d 70 6c 65 06 00 19 0e | 44 69 6d 0f 03 44 69 6d |mple....|Dim..Dim|
|00004300| 04 20 61 2c 62 20 61 73 | 20 49 6e 74 65 67 65 72 |. a,b as| Integer|
|00004310| 06 00 5b 0e 49 66 0f 03 | 49 66 04 20 0e 45 64 69 |..[.If..|If. .Edi|
|00004320| 74 66 69 65 6c 64 0f 03 | 45 64 69 74 66 69 65 6c |tfield..|Editfiel|
|00004330| 64 31 04 2e 74 65 78 74 | 20 01 3c 3e 02 20 22 22 |d1..text| .<>. ""|
|00004340| 20 61 6e 64 20 0e 45 64 | 69 74 46 69 65 6c 64 0f | and .Ed|itField.|
|00004350| 03 45 64 69 74 46 69 65 | 6c 64 32 04 2e 74 65 78 |.EditFie|ld2..tex|
|00004360| 74 20 01 3c 3e 02 20 22 | 22 20 74 68 65 6e 06 00 |t .<>. "|" then..|
|00004370| 2a 61 3d 0e 56 61 6c 0f | 03 56 61 6c 04 28 0e 45 |*a=.Val.|.Val.(.E|
|00004380| 64 69 74 66 69 65 6c 64 | 0f 03 45 64 69 74 66 69 |ditfield|..Editfi|
|00004390| 65 6c 64 31 04 2e 74 65 | 78 74 29 06 00 2a 62 3d |eld1..te|xt)..*b=|
|000043a0| 0e 56 61 6c 0f 03 56 61 | 6c 04 28 0e 45 64 69 74 |.Val..Va|l.(.Edit|
|000043b0| 46 69 65 6c 64 0f 03 45 | 64 69 74 46 69 65 6c 64 |Field..E|ditField|
|000043c0| 32 04 2e 74 65 78 74 29 | 06 00 11 0e 49 66 0f 03 |2..text)|....If..|
|000043d0| 49 66 04 20 61 3c 62 20 | 74 68 65 6e 06 00 24 0e |If. a<b |then..$.|
|000043e0| 4d 73 67 42 6f 78 0f 03 | 4d 73 67 42 6f 78 04 20 |MsgBox..|MsgBox. |
|000043f0| 22 41 20 69 73 20 4c 65 | 73 73 20 54 68 61 6e 20 |"A is Le|ss Than |
|00004400| 42 21 22 06 00 04 65 6c | 73 65 06 00 0c 0e 42 65 |B!"...el|se....Be|
|00004410| 65 70 0f 03 42 65 65 70 | 04 06 00 06 65 6e 64 20 |ep..Beep|....end |
|00004420| 69 66 06 00 04 65 6c 73 | 65 06 00 38 0e 4d 73 67 |if...els|e..8.Msg|
|00004430| 42 6f 78 0f 03 4d 73 67 | 42 6f 78 04 20 22 50 6c |Box..Msg|Box. "Pl|
|00004440| 65 61 73 65 20 65 6e 74 | 65 72 20 6e 75 6d 62 65 |ease ent|er numbe|
|00004450| 72 73 20 69 6e 74 6f 20 | 62 6f 74 68 20 62 6f 78 |rs into |both box|
|00004460| 65 73 21 22 07 00 06 65 | 6e 64 20 69 66 02 00 08 |es!"...e|nd if...|
|00004470| 53 65 65 20 41 6c 73 6f | 03 00 3c 0e 5c 3e 3d 0f |See Also|..<.\>=.|
|00004480| 03 3e 04 2c 03 20 0e 5c | 3e 3d 0f 3e 3d 04 2c 03 |.>.,. .\|>=.>=.,.|
|00004490| 20 0e 3c 0f 3c 04 2c 20 | 0e 3c 3d 0f 03 3c 3d 04 | .<.<., |.<=..<=.|
|000044a0| 2c 20 61 6e 64 20 0e 3d | 0f 03 3d 04 20 6f 70 65 |, and .=|..=. ope|
|000044b0| 72 61 74 6f 72 73 2e 0d | 00 01 3d 0c 00 0b 4f 70 |rators..|..=...Op|
|000044c0| 65 72 61 74 6f 72 73 3a | 3d 01 00 0a 3d 20 4f 70 |erators:|=...= Op|
|000044d0| 65 72 61 74 6f 72 03 00 | 66 55 73 65 64 20 74 6f |erator..|fUsed to|
|000044e0| 20 64 65 74 65 72 6d 69 | 6e 65 20 77 68 65 74 68 | determi|ne wheth|
|000044f0| 65 72 20 6f 6e 65 20 65 | 78 70 72 65 73 73 69 6f |er one e|xpressio|
|00004500| 6e 20 69 73 20 65 71 75 | 61 6c 20 74 6f 20 61 6e |n is equ|al to an|
|00004510| 6f 74 68 65 72 2e 20 53 | 74 72 69 6e 67 20 63 6f |other. S|tring co|
|00004520| 6d 70 61 72 69 73 6f 6e | 73 20 61 72 65 20 63 61 |mparison|s are ca|
|00004530| 73 65 2d 69 6e 73 65 6e | 73 69 74 69 76 65 2e 02 |se-insen|sitive..|
|00004540| 00 06 53 79 6e 74 61 78 | 03 00 20 72 65 73 75 6c |..Syntax|.. resul|
|00004550| 74 3d 65 78 70 72 65 73 | 73 69 6f 6e 31 20 3d 20 |t=expres|sion1 = |
|00004560| 65 78 70 72 65 73 73 69 | 6f 6e 32 04 00 04 50 61 |expressi|on2...Pa|
|00004570| 72 74 00 04 54 79 70 65 | 00 0b 44 65 73 63 72 69 |rt..Type|..Descri|
|00004580| 70 74 69 6f 6e ff 05 00 | 06 72 65 73 75 6c 74 00 |ption...|.result.|
|00004590| 07 42 6f 6f 6c 65 61 6e | 00 3c 52 65 74 75 72 6e |.Boolean|.<Return|
|000045a0| 73 20 0e 54 72 75 65 0f | 03 54 72 75 65 04 20 69 |s .True.|.True. i|
|000045b0| 66 20 65 78 70 72 65 73 | 73 69 6f 6e 31 20 69 73 |f expres|sion1 is|
|000045c0| 20 65 71 75 61 6c 20 74 | 6f 20 65 78 70 72 65 73 | equal t|o expres|
|000045d0| 73 69 6f 6e 32 2e ff 05 | 00 0b 65 78 70 72 65 73 |sion2...|..expres|
|000045e0| 73 69 6f 6e 31 00 17 53 | 74 72 69 6e 67 2c 20 4e |sion1..S|tring, N|
|000045f0| 75 6d 62 65 72 2c 20 6f | 72 20 64 61 74 65 00 2a |umber, o|r date.*|
|00004600| 41 6e 79 20 61 6c 70 68 | 61 62 65 74 69 63 20 6f |Any alph|abetic o|
|00004610| 72 20 71 75 61 6e 74 69 | 74 61 74 69 76 65 20 65 |r quanti|tative e|
|00004620| 78 70 72 65 73 73 69 6f | 6e 2e ff 05 00 0b 65 78 |xpressio|n.....ex|
|00004630| 70 72 65 73 73 69 6f 6e | 32 00 17 53 74 72 69 6e |pression|2..Strin|
|00004640| 67 2c 20 4e 75 6d 62 65 | 72 2c 20 6f 72 20 64 61 |g, Numbe|r, or da|
|00004650| 74 65 00 2a 41 6e 79 20 | 61 6c 70 68 61 62 65 74 |te.*Any |alphabet|
|00004660| 69 63 20 6f 72 20 71 75 | 61 6e 74 69 74 61 74 69 |ic or qu|antitati|
|00004670| 76 65 20 65 78 70 72 65 | 73 73 69 6f 6e 2e ff 02 |ve expre|ssion...|
|00004680| 00 04 4e 6f 74 65 03 00 | 39 54 68 65 20 64 61 74 |..Note..|9The dat|
|00004690| 61 20 74 79 70 65 73 20 | 6f 66 20 65 78 70 72 65 |a types |of expre|
|000046a0| 73 73 69 6f 6e 31 20 61 | 6e 64 20 65 78 70 72 65 |ssion1 a|nd expre|
|000046b0| 73 73 69 6f 6e 32 20 6d | 75 73 74 20 6d 61 74 63 |ssion2 m|ust matc|
|000046c0| 68 2e 02 00 07 45 78 61 | 6d 70 6c 65 06 00 18 0e |h....Exa|mple....|
|000046d0| 44 69 6d 0f 03 44 69 6d | 04 20 61 2c 62 20 61 73 |Dim..Dim|. a,b as|
|000046e0| 20 53 74 72 69 6e 67 06 | 00 57 0e 49 66 0f 03 49 | String.|.W.If..I|
|000046f0| 66 04 20 0e 45 64 69 74 | 66 69 65 6c 64 0f 03 45 |f. .Edit|field..E|
|00004700| 64 69 74 66 69 65 6c 64 | 31 04 2e 74 65 78 74 20 |ditfield|1..text |
|00004710| 3c 3e 20 22 22 20 61 6e | 64 20 0e 45 64 69 74 46 |<> "" an|d .EditF|
|00004720| 69 65 6c 64 0f 03 45 64 | 69 74 46 69 65 6c 64 32 |ield..Ed|itField2|
|00004730| 04 2e 74 65 78 74 20 3c | 3e 20 22 22 20 74 68 65 |..text <|> "" the|
|00004740| 6e 06 00 23 61 3d 0e 56 | 61 6c 0f 0e 45 64 69 74 |n..#a=.V|al..Edit|
|00004750| 66 69 65 6c 64 0f 03 45 | 64 69 74 66 69 65 6c 64 |field..E|ditfield|
|00004760| 31 04 2e 74 65 78 74 06 | 00 23 62 3d 0e 56 61 6c |1..text.|.#b=.Val|
|00004770| 0f 0e 45 64 69 74 46 69 | 65 6c 64 0f 03 45 64 69 |..EditFi|eld..Edi|
|00004780| 74 46 69 65 6c 64 32 04 | 2e 74 65 78 74 06 00 13 |tField2.|.text...|
|00004790| 0e 49 66 0f 03 49 66 04 | 20 61 01 3d 02 62 20 74 |.If..If.| a.=.b t|
|000047a0| 68 65 6e 06 00 23 0e 4d | 73 67 42 6f 78 0f 03 4d |hen..#.M|sgBox..M|
|000047b0| 73 67 42 6f 78 04 20 22 | 41 20 69 73 20 65 71 75 |sgBox. "|A is equ|
|000047c0| 61 6c 20 74 6f 20 42 21 | 22 06 00 04 65 6c 73 65 |al to B!|"...else|
|000047d0| 06 00 0c 0e 42 65 65 70 | 0f 03 42 65 65 70 04 06 |....Beep|..Beep..|
|000047e0| 00 06 65 6e 64 20 69 66 | 06 00 04 65 6c 73 65 06 |..end if|...else.|
|000047f0| 00 3a 0e 4d 73 67 42 6f | 78 0f 03 4d 73 67 42 6f |.:.MsgBo|x..MsgBo|
|00004800| 78 04 20 22 50 6c 65 61 | 73 65 20 65 6e 74 65 72 |x. "Plea|se enter|
|00004810| 20 73 6f 6d 65 74 68 69 | 6e 67 20 69 6e 74 6f 20 | somethi|ng into |
|00004820| 62 6f 74 68 20 62 6f 78 | 65 73 21 22 07 00 06 65 |both box|es!"...e|
|00004830| 6e 64 20 69 66 02 00 08 | 53 65 65 20 41 6c 73 6f |nd if...|See Also|
|00004840| 03 00 3e 0e 5c 3e 0f 03 | 3e 04 2c 03 20 0e 5c 3e |..>.\>..|>.,. .\>|
|00004850| 3d 0f 3e 3d 04 2c 03 20 | 0e 3c 0f 3c 04 2c 03 20 |=.>=.,. |.<.<.,. |
|00004860| 0e 3c 3d 0f 3c 3d 04 2c | 20 61 6e 64 20 0e 3c 5c |.<=.<=.,| and .<\|
|00004870| 3e 0f 03 3c 3e 04 20 6f | 70 65 72 61 74 6f 72 73 |>..<>. o|perators|
|00004880| 2e 0d 00 01 3e 0c 00 0b | 4f 70 65 72 61 74 6f 72 |....>...|Operator|
|00004890| 73 3a 3e 01 00 0a 3e 20 | 4f 70 65 72 61 74 6f 72 |s:>...> |Operator|
|000048a0| 03 00 84 55 73 65 64 20 | 74 6f 20 64 65 74 65 72 |...Used |to deter|
|000048b0| 6d 69 6e 65 20 77 68 65 | 74 68 65 72 20 6f 6e 65 |mine whe|ther one|
|000048c0| 20 61 6c 70 68 61 62 65 | 74 69 63 20 6f 72 20 71 | alphabe|tic or q|
|000048d0| 75 61 6e 74 69 74 61 74 | 69 76 65 20 65 78 70 72 |uantitat|ive expr|
|000048e0| 65 73 73 69 6f 6e 20 69 | 73 20 6c 61 72 67 65 72 |ession i|s larger|
|000048f0| 20 74 68 61 6e 20 61 6e | 6f 74 68 65 72 2e 20 53 | than an|other. S|
|00004900| 74 72 69 6e 67 20 63 6f | 6d 70 61 72 69 73 6f 6e |tring co|mparison|
|00004910| 73 20 61 72 65 20 63 61 | 73 65 2d 69 6e 73 65 6e |s are ca|se-insen|
|00004920| 73 69 74 69 76 65 2e 02 | 00 06 53 79 6e 74 61 78 |sitive..|..Syntax|
|00004930| 03 00 20 72 65 73 75 6c | 74 3d 65 78 70 72 65 73 |.. resul|t=expres|
|00004940| 73 69 6f 6e 31 20 3e 20 | 65 78 70 72 65 73 73 69 |sion1 > |expressi|
|00004950| 6f 6e 32 04 00 04 50 61 | 72 74 00 04 54 79 70 65 |on2...Pa|rt..Type|
|00004960| 00 0b 44 65 73 63 72 69 | 70 74 69 6f 6e ff 05 00 |..Descri|ption...|
|00004970| 06 72 65 73 75 6c 74 00 | 07 42 6f 6f 6c 65 61 6e |.result.|.Boolean|
|00004980| 00 3f 52 65 74 75 72 6e | 73 20 0e 54 72 75 65 0f |.?Return|s .True.|
|00004990| 03 54 72 75 65 04 20 69 | 66 20 65 78 70 72 65 73 |.True. i|f expres|
|000049a0| 73 69 6f 6e 31 20 69 73 | 20 6c 61 72 67 65 72 20 |sion1 is| larger |
|000049b0| 74 68 61 6e 20 65 78 70 | 72 65 73 73 69 6f 6e 32 |than exp|ression2|
|000049c0| 2e ff 05 00 0b 65 78 70 | 72 65 73 73 69 6f 6e 31 |.....exp|ression1|
|000049d0| 00 16 53 74 72 69 6e 67 | 2c 20 4e 75 6d 62 65 72 |..String|, Number|
|000049e0| 20 6f 72 20 64 61 74 65 | 00 2a 41 6e 79 20 61 6c | or date|.*Any al|
|000049f0| 70 68 61 62 65 74 69 63 | 20 6f 72 20 71 75 61 6e |phabetic| or quan|
|00004a00| 74 69 74 61 74 69 76 65 | 20 65 78 70 72 65 73 73 |titative| express|
|00004a10| 69 6f 6e 2e ff 05 00 0b | 65 78 70 72 65 73 73 69 |ion.....|expressi|
|00004a20| 6f 6e 32 00 16 53 74 72 | 69 6e 67 2c 20 4e 75 6d |on2..Str|ing, Num|
|00004a30| 62 65 72 20 6f 72 20 64 | 61 74 65 00 2a 41 6e 79 |ber or d|ate.*Any|
|00004a40| 20 61 6c 70 68 61 62 65 | 74 69 63 20 6f 72 20 71 | alphabe|tic or q|
|00004a50| 75 61 6e 74 69 74 61 74 | 69 76 65 20 65 78 70 72 |uantitat|ive expr|
|00004a60| 65 73 73 69 6f 6e 2e ff | 02 00 07 45 78 61 6d 70 |ession..|...Examp|
|00004a70| 6c 65 06 00 19 0e 44 69 | 6d 0f 03 44 69 6d 04 20 |le....Di|m..Dim. |
|00004a80| 61 2c 62 20 61 73 20 49 | 6e 74 65 67 65 72 06 00 |a,b as I|nteger..|
|00004a90| 57 0e 49 66 0f 03 49 66 | 04 20 0e 45 64 69 74 66 |W.If..If|. .Editf|
|00004aa0| 69 65 6c 64 0f 03 45 64 | 69 74 66 69 65 6c 64 31 |ield..Ed|itfield1|
|00004ab0| 04 2e 74 65 78 74 20 3c | 3e 20 22 22 20 61 6e 64 |..text <|> "" and|
|00004ac0| 20 0e 45 64 69 74 46 69 | 65 6c 64 0f 03 45 64 69 | .EditFi|eld..Edi|
|00004ad0| 74 46 69 65 6c 64 32 04 | 2e 74 65 78 74 20 3c 3e |tField2.|.text <>|
|00004ae0| 20 22 22 20 74 68 65 6e | 06 00 2a 61 3d 0e 56 61 | "" then|..*a=.Va|
|00004af0| 6c 0f 03 56 61 6c 04 28 | 0e 45 64 69 74 66 69 65 |l..Val.(|.Editfie|
|00004b00| 6c 64 0f 03 45 64 69 74 | 66 69 65 6c 64 31 04 2e |ld..Edit|field1..|
|00004b10| 74 65 78 74 29 06 00 2a | 62 3d 0e 56 61 6c 0f 03 |text)..*|b=.Val..|
|00004b20| 56 61 6c 04 28 0e 45 64 | 69 74 46 69 65 6c 64 0f |Val.(.Ed|itField.|
|00004b30| 03 45 64 69 74 46 69 65 | 6c 64 32 04 2e 74 65 78 |.EditFie|ld2..tex|
|00004b40| 74 29 06 00 13 0e 49 66 | 0f 03 49 66 04 20 61 01 |t)....If|..If. a.|
|00004b50| 3e 02 62 20 74 68 65 6e | 06 00 27 0e 4d 73 67 42 |>.b then|..'.MsgB|
|00004b60| 6f 78 0f 03 4d 73 67 42 | 6f 78 04 20 22 41 20 69 |ox..MsgB|ox. "A i|
|00004b70| 73 20 47 72 65 61 74 65 | 72 20 74 68 61 6e 20 42 |s Greate|r than B|
|00004b80| 21 22 06 00 04 65 6c 73 | 65 06 00 0c 0e 42 65 65 |!"...els|e....Bee|
|00004b90| 70 0f 03 42 65 65 70 04 | 06 00 06 65 6e 64 20 69 |p..Beep.|...end i|
|00004ba0| 66 06 00 04 65 6c 73 65 | 06 00 38 0e 4d 73 67 42 |f...else|..8.MsgB|
|00004bb0| 6f 78 0f 03 4d 73 67 42 | 6f 78 04 20 22 50 6c 65 |ox..MsgB|ox. "Ple|
|00004bc0| 61 73 65 20 65 6e 74 65 | 72 20 6e 75 6d 62 65 72 |ase ente|r number|
|00004bd0| 73 20 69 6e 74 6f 20 62 | 6f 74 68 20 62 6f 78 65 |s into b|oth boxe|
|00004be0| 73 21 22 07 00 06 65 6e | 64 20 69 66 02 00 08 53 |s!"...en|d if...S|
|00004bf0| 65 65 20 41 6c 73 6f 03 | 00 3d 0e 5c 3e 3d 0f 03 |ee Also.|.=.\>=..|
|00004c00| 3e 3d 04 2c 03 20 0e 3c | 0f 3c 04 2c 03 20 0e 3c |>=.,. .<|.<.,. .<|
|00004c10| 3d 0f 3c 3d 04 2c 20 0e | 3d 0f 03 3d 04 2c 20 61 |=.<=., .|=..=., a|
|00004c20| 6e 64 20 0e 3c 5c 3e 0f | 03 3c 3e 04 20 6f 70 65 |nd .<\>.|.<>. ope|
|00004c30| 72 61 74 6f 72 73 2e 0d | 00 02 3e 3d 0c 00 0c 4f |rators..|..>=...O|
|00004c40| 70 65 72 61 74 6f 72 73 | 3a 3e 3d 01 00 0b 3e 3d |perators|:>=...>=|
|00004c50| 20 4f 70 65 72 61 74 6f | 72 03 00 8e 55 73 65 64 | Operato|r...Used|
|00004c60| 20 74 6f 20 64 65 74 65 | 72 6d 69 6e 65 20 77 68 | to dete|rmine wh|
|00004c70| 65 74 68 65 72 20 6f 6e | 65 20 61 6c 70 68 61 62 |ether on|e alphab|
|00004c80| 65 74 69 63 20 71 75 61 | 6e 74 69 74 61 74 69 76 |etic qua|ntitativ|
|00004c90| 65 20 65 78 70 72 65 73 | 73 69 6f 6e 20 69 73 20 |e expres|sion is |
|00004ca0| 73 6d 61 6c 6c 65 72 20 | 74 68 61 6e 20 6f 72 20 |smaller |than or |
|00004cb0| 65 71 75 61 6c 20 74 6f | 20 61 6e 6f 74 68 65 72 |equal to| another|
|00004cc0| 2e 20 53 74 72 69 6e 67 | 20 63 6f 6d 70 61 72 69 |. String| compari|
|00004cd0| 73 6f 6e 73 20 61 72 65 | 20 63 61 73 65 2d 69 6e |sons are| case-in|
|00004ce0| 73 65 6e 73 69 74 69 76 | 65 2e 02 00 06 53 79 6e |sensitiv|e....Syn|
|00004cf0| 74 61 78 03 00 20 72 65 | 73 75 6c 74 3d 65 78 70 |tax.. re|sult=exp|
|00004d00| 72 65 73 73 69 6f 6e 31 | 20 3c 20 65 78 70 72 65 |ression1| < expre|
|00004d10| 73 73 69 6f 6e 32 04 00 | 04 50 61 72 74 00 04 54 |ssion2..|.Part..T|
|00004d20| 79 70 65 00 0b 44 65 73 | 63 72 69 70 74 69 6f 6e |ype..Des|cription|
|00004d30| ff 05 00 06 72 65 73 75 | 6c 74 00 07 42 6f 6f 6c |....resu|lt..Bool|
|00004d40| 65 61 6e 00 4b 52 65 74 | 75 72 6e 73 20 0e 54 72 |ean.KRet|urns .Tr|
|00004d50| 75 65 0f 03 54 72 75 65 | 04 20 69 66 20 65 78 70 |ue..True|. if exp|
|00004d60| 72 65 73 73 69 6f 6e 31 | 20 69 73 20 6c 61 72 67 |ression1| is larg|
|00004d70| 65 72 20 74 68 61 6e 20 | 6f 72 20 65 71 75 61 6c |er than |or equal|
|00004d80| 20 74 6f 20 65 78 70 72 | 65 73 73 69 6f 6e 32 2e | to expr|ession2.|
|00004d90| ff 05 00 0b 65 78 70 72 | 65 73 73 69 6f 6e 31 00 |....expr|ession1.|
|00004da0| 16 53 74 72 69 6e 67 2c | 20 4e 75 6d 62 65 72 20 |.String,| Number |
|00004db0| 6f 72 20 64 61 74 65 00 | 2a 41 6e 79 20 61 6c 70 |or date.|*Any alp|
|00004dc0| 68 61 62 65 74 69 63 20 | 6f 72 20 71 75 61 6e 74 |habetic |or quant|
|00004dd0| 69 74 61 74 69 76 65 20 | 65 78 70 72 65 73 73 69 |itative |expressi|
|00004de0| 6f 6e 2e ff 05 00 0b 65 | 78 70 72 65 73 73 69 6f |on.....e|xpressio|
|00004df0| 6e 32 00 16 53 74 72 69 | 6e 67 2c 20 4e 75 6d 62 |n2..Stri|ng, Numb|
|00004e00| 65 72 20 6f 72 20 64 61 | 74 65 00 2a 41 6e 79 20 |er or da|te.*Any |
|00004e10| 61 6c 70 68 61 62 65 74 | 69 63 20 6f 72 20 71 75 |alphabet|ic or qu|
|00004e20| 61 6e 74 69 74 61 74 69 | 76 65 20 65 78 70 72 65 |antitati|ve expre|
|00004e30| 73 73 69 6f 6e 2e ff 02 | 00 07 45 78 61 6d 70 6c |ssion...|..Exampl|
|00004e40| 65 06 00 19 0e 44 69 6d | 0f 03 44 69 6d 04 20 61 |e....Dim|..Dim. a|
|00004e50| 2c 62 20 61 73 20 49 6e | 74 65 67 65 72 06 00 57 |,b as In|teger..W|
|00004e60| 0e 49 66 0f 03 49 66 04 | 20 0e 45 64 69 74 66 69 |.If..If.| .Editfi|
|00004e70| 65 6c 64 0f 03 45 64 69 | 74 66 69 65 6c 64 31 04 |eld..Edi|tfield1.|
|00004e80| 2e 74 65 78 74 20 3c 3e | 20 22 22 20 61 6e 64 20 |.text <>| "" and |
|00004e90| 0e 45 64 69 74 46 69 65 | 6c 64 0f 03 45 64 69 74 |.EditFie|ld..Edit|
|00004ea0| 46 69 65 6c 64 32 04 2e | 74 65 78 74 20 3c 3e 20 |Field2..|text <> |
|00004eb0| 22 22 20 74 68 65 6e 06 | 00 2a 61 3d 0e 56 61 6c |"" then.|.*a=.Val|
|00004ec0| 0f 03 56 61 6c 04 28 0e | 45 64 69 74 66 69 65 6c |..Val.(.|Editfiel|
|00004ed0| 64 0f 03 45 64 69 74 66 | 69 65 6c 64 31 04 2e 74 |d..Editf|ield1..t|
|00004ee0| 65 78 74 29 06 00 2a 62 | 3d 0e 56 61 6c 0f 03 56 |ext)..*b|=.Val..V|
|00004ef0| 61 6c 04 28 0e 45 64 69 | 74 46 69 65 6c 64 0f 03 |al.(.Edi|tField..|
|00004f00| 45 64 69 74 46 69 65 6c | 64 32 04 2e 74 65 78 74 |EditFiel|d2..text|
|00004f10| 29 06 00 14 0e 49 66 0f | 03 49 66 04 20 61 01 3e |)....If.|.If. a.>|
|00004f20| 3d 02 62 20 74 68 65 6e | 06 00 33 0e 4d 73 67 42 |=.b then|..3.MsgB|
|00004f30| 6f 78 0f 03 4d 73 67 42 | 6f 78 04 20 22 41 20 69 |ox..MsgB|ox. "A i|
|00004f40| 73 20 67 72 65 61 74 65 | 72 20 74 68 61 6e 20 6f |s greate|r than o|
|00004f50| 72 20 65 71 75 61 6c 20 | 74 6f 20 42 21 22 06 00 |r equal |to B!"..|
|00004f60| 04 65 6c 73 65 06 00 0c | 0e 42 65 65 70 0f 03 42 |.else...|.Beep..B|
|00004f70| 65 65 70 04 06 00 06 65 | 6e 64 20 69 66 06 00 04 |eep....e|nd if...|
|00004f80| 65 6c 73 65 06 00 38 0e | 4d 73 67 42 6f 78 0f 03 |else..8.|MsgBox..|
|00004f90| 4d 73 67 42 6f 78 04 20 | 22 50 6c 65 61 73 65 20 |MsgBox. |"Please |
|00004fa0| 65 6e 74 65 72 20 6e 75 | 6d 62 65 72 73 20 69 6e |enter nu|mbers in|
|00004fb0| 74 6f 20 62 6f 74 68 20 | 62 6f 78 65 73 21 22 07 |to both |boxes!".|
|00004fc0| 00 06 65 6e 64 20 69 66 | 02 00 08 53 65 65 20 41 |..end if|...See A|
|00004fd0| 6c 73 6f 03 00 3c 0e 5c | 3e 3d 0f 03 3e 04 2c 03 |lso..<.\|>=..>.,.|
|00004fe0| 20 0e 3c 3d 0f 3c 3d 04 | 2c 03 20 0e 3c 0f 3c 04 | .<=.<=.|,. .<.<.|
|00004ff0| 2c 20 0e 3d 0f 03 3d 04 | 2c 20 61 6e 64 20 0e 3c |, .=..=.|, and .<|
|00005000| 5c 3e 0f 03 3c 3e 04 20 | 6f 70 65 72 61 74 6f 72 |\>..<>. |operator|
|00005010| 73 2e 0d 00 01 5c 0c 00 | 0c 4f 70 65 72 61 74 6f |s....\..|.Operato|
|00005020| 72 73 3a 5c 5c 0d 00 01 | 5c 01 00 0a 5c 20 4f 70 |rs:\\...|\...\ Op|
|00005030| 65 72 61 74 6f 72 03 00 | 35 55 73 65 64 20 74 6f |erator..|5Used to|
|00005040| 20 70 65 72 66 6f 72 6d | 20 69 6e 74 65 67 65 72 | perform| integer|
|00005050| 20 64 69 76 69 73 69 6f | 6e 20 62 65 74 77 65 65 | divisio|n betwee|
|00005060| 6e 20 74 77 6f 20 6e 75 | 6d 62 65 72 73 2e 02 00 |n two nu|mbers...|
|00005070| 06 53 79 6e 74 61 78 03 | 00 22 72 65 73 75 6c 74 |.Syntax.|."result|
|00005080| 3d 65 78 70 72 65 73 73 | 69 6f 6e 31 20 01 5c 02 |=express|ion1 .\.|
|00005090| 20 65 78 70 72 65 73 73 | 69 6f 6e 32 04 00 04 50 | express|ion2...P|
|000050a0| 61 72 74 00 04 54 79 70 | 65 00 0b 44 65 73 63 72 |art..Typ|e..Descr|
|000050b0| 69 70 74 69 6f 6e ff 05 | 00 06 72 65 73 75 6c 74 |iption..|..result|
|000050c0| 00 06 4e 75 6d 62 65 72 | 00 34 54 68 65 20 69 6e |..Number|.4The in|
|000050d0| 74 65 67 65 72 20 64 69 | 76 69 73 69 6f 6e 20 6f |teger di|vision o|
|000050e0| 66 20 65 78 70 72 65 73 | 73 69 6f 6e 31 20 61 6e |f expres|sion1 an|
|000050f0| 64 20 65 78 70 72 65 73 | 73 69 6f 6e 32 2e ff 05 |d expres|sion2...|
|00005100| 00 0b 65 78 70 72 65 73 | 73 69 6f 6e 31 00 06 4e |..expres|sion1..N|
|00005110| 75 6d 62 65 72 00 17 41 | 6e 79 20 6e 75 6d 65 72 |umber..A|ny numer|
|00005120| 69 63 20 65 78 70 72 65 | 73 73 69 6f 6e 2e ff 05 |ic expre|ssion...|
|00005130| 00 0b 65 78 70 72 65 73 | 73 69 6f 6e 32 00 06 4e |..expres|sion2..N|
|00005140| 75 6d 62 65 72 00 17 41 | 6e 79 20 6e 75 6d 65 72 |umber..A|ny numer|
|00005150| 69 63 20 65 78 70 72 65 | 73 73 69 6f 6e 2e ff 02 |ic expre|ssion...|
|00005160| 00 05 4e 6f 74 65 73 03 | 00 6a 55 73 65 20 74 68 |..Notes.|.jUse th|
|00005170| 69 73 20 6f 70 65 72 61 | 74 6f 72 20 77 68 65 6e |is opera|tor when|
|00005180| 20 79 6f 75 20 72 65 71 | 75 69 72 65 20 64 69 76 | you req|uire div|
|00005190| 69 73 69 6f 6e 20 74 68 | 61 74 20 64 6f 65 73 20 |ision th|at does |
|000051a0| 6e 6f 74 20 63 6f 6e 73 | 69 64 65 72 20 74 68 65 |not cons|ider the|
|000051b0| 20 64 65 63 69 6d 61 6c | 20 70 6f 72 74 69 6f 6e | decimal| portion|
|000051c0| 20 6f 66 20 74 68 65 20 | 65 78 70 72 65 73 73 69 | of the |expressi|
|000051d0| 6f 6e 73 2e 02 00 08 45 | 78 61 6d 70 6c 65 73 03 |ons....E|xamples.|
|000051e0| 00 3e 54 68 69 73 20 65 | 78 61 6d 70 6c 65 20 73 |.>This e|xample s|
|000051f0| 74 6f 72 65 73 20 74 68 | 65 20 64 69 76 69 73 69 |tores th|e divisi|
|00005200| 6f 6e 20 6f 66 20 74 77 | 6f 20 6e 75 6d 62 65 72 |on of tw|o number|
|00005210| 73 20 69 6e 20 61 20 76 | 61 72 69 61 62 6c 65 3a |s in a v|ariable:|
|00005220| 06 00 17 0e 44 69 6d 0f | 03 44 69 6d 04 20 78 20 |....Dim.|.Dim. x |
|00005230| 61 73 20 49 6e 74 65 67 | 65 72 07 00 18 78 3d 35 |as Integ|er...x=5|
|00005240| 30 2e 35 36 5c 33 30 2e | 33 34 20 20 20 2f 2f 78 |0.56\30.|34 //x|
|00005250| 20 69 73 20 31 02 00 08 | 53 65 65 20 41 6c 73 6f | is 1...|See Also|
|00005260| 03 00 1d 0e 2f 0f 03 2f | 04 2c 03 20 0e 4d 6f 64 |..../../|.,. .Mod|
|00005270| 0f 4d 6f 64 04 20 6f 70 | 65 72 61 74 6f 72 73 2e |.Mod. op|erators.|
|00005280| 0d 00 0c d4 2c d5 20 45 | 78 70 65 63 74 65 64 0c |....,. E|xpected.|
|00005290| 00 21 45 72 72 6f 72 20 | 4d 65 73 73 61 67 65 73 |.!Error |Messages|
|000052a0| 3a d4 2c d5 20 45 78 70 | 65 63 74 65 64 20 65 72 |:.,. Exp|ected er|
|000052b0| 72 6f 72 01 00 12 d4 2c | d5 20 45 78 70 65 63 74 |ror....,|. Expect|
|000052c0| 65 64 20 45 72 72 6f 72 | 03 00 25 41 20 63 6f 6d |ed Error|..%A com|
|000052d0| 6d 61 20 77 61 73 20 6f | 6d 69 74 74 65 64 20 66 |ma was o|mitted f|
|000052e0| 72 6f 6d 20 61 20 73 74 | 61 74 65 6d 65 6e 74 2e |rom a st|atement.|
|000052f0| 02 00 08 45 78 61 6d 70 | 6c 65 73 03 00 38 55 73 |...Examp|les..8Us|
|00005300| 69 6e 67 20 61 20 73 70 | 61 63 65 20 69 6e 73 74 |ing a sp|ace inst|
|00005310| 65 61 64 20 6f 66 20 61 | 20 63 6f 6d 6d 61 20 74 |ead of a| comma t|
|00005320| 6f 20 73 65 70 61 72 61 | 74 65 20 70 61 72 61 6d |o separa|te param|
|00005330| 65 74 65 72 73 2e 07 00 | 29 0e 4c 69 73 74 42 6f |eters...|).ListBo|
|00005340| 78 0f 03 4c 69 73 74 42 | 6f 78 31 04 2e 69 6e 73 |x..ListB|ox1..ins|
|00005350| 65 72 74 52 6f 77 20 32 | 20 22 43 68 69 63 61 67 |ertRow 2| "Chicag|
|00005360| 6f 22 0d 00 0c d4 29 d5 | 20 45 78 70 65 63 74 65 |o"....).| Expecte|
|00005370| 64 0c 00 21 45 72 72 6f | 72 20 4d 65 73 73 61 67 |d..!Erro|r Messag|
|00005380| 65 73 3a d4 29 d5 20 45 | 78 70 65 63 74 65 64 20 |es:.). E|xpected |
|00005390| 65 72 72 6f 72 01 00 12 | d4 29 d5 20 45 78 70 65 |error...|.). Expe|
|000053a0| 63 74 65 64 20 45 72 72 | 6f 72 03 00 75 41 20 63 |cted Err|or..uA c|
|000053b0| 6c 6f 73 69 6e 67 20 70 | 61 72 65 6e 74 68 65 73 |losing p|arenthes|
|000053c0| 69 73 20 77 61 73 20 6f | 6d 69 74 74 65 64 20 6f |is was o|mitted o|
|000053d0| 72 20 61 6e 20 65 78 74 | 72 61 20 73 70 61 63 65 |r an ext|ra space|
|000053e0| 20 77 61 73 20 6c 65 66 | 74 20 62 65 74 77 65 65 | was lef|t betwee|
|000053f0| 6e 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 61 20 |n the na|me of a |
|00005400| 6d 65 74 68 6f 64 20 61 | 6e 64 20 61 6e 20 6f 70 |method a|nd an op|
|00005410| 65 6e 69 6e 67 20 70 61 | 72 65 6e 74 68 65 73 69 |ening pa|renthesi|
|00005420| 73 2e 02 00 08 45 78 61 | 6d 70 6c 65 73 03 00 23 |s....Exa|mples..#|
|00005430| 54 68 65 20 63 6c 6f 73 | 69 6e 67 20 70 61 72 65 |The clos|ing pare|
|00005440| 6e 74 68 65 73 69 73 20 | 69 73 20 6d 69 73 73 69 |nthesis |is missi|
|00005450| 6e 67 3a 06 00 14 0e 49 | 66 0f 03 49 66 04 20 28 |ng:....I|f..If. (|
|00005460| 64 20 3e 20 30 20 74 68 | 65 6e 06 00 01 2e 07 00 |d > 0 th|en......|
|00005470| 06 65 6e 64 20 69 66 03 | 00 49 41 6e 20 65 78 74 |.end if.|.IAn ext|
|00005480| 72 61 20 73 70 61 63 65 | 20 77 61 73 20 6c 65 66 |ra space| was lef|
|00005490| 74 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 6e 61 |t betwee|n the na|
|000054a0| 6d 65 20 6f 66 20 61 20 | 6d 65 74 68 6f 64 20 61 |me of a |method a|
|000054b0| 6e 64 20 74 68 65 20 70 | 61 72 65 6e 74 68 65 73 |nd the p|arenthes|
|000054c0| 69 73 2e 06 00 1c 6d 79 | 4d 65 74 68 6f 64 20 28 |is....my|Method (|
|000054d0| 35 2c 35 2c 36 29 20 2f | 2f 69 6e 63 6f 72 72 65 |5,5,6) /|/incorre|
|000054e0| 63 74 06 00 19 6d 79 4d | 65 74 68 6f 64 28 35 2c |ct...myM|ethod(5,|
|000054f0| 35 2c 36 29 20 2f 2f 63 | 6f 72 72 65 63 74 06 00 |5,6) //c|orrect..|
|00005500| 34 0e 4c 69 73 74 42 6f | 78 0f 03 4c 69 73 74 42 |4.ListBo|x..ListB|
|00005510| 6f 78 31 04 2e 69 6e 73 | 65 72 74 52 6f 77 20 28 |ox1..ins|ertRow (|
|00005520| 32 2c 22 4c 6f 69 73 22 | 29 20 2f 2f 69 6e 63 6f |2,"Lois"|) //inco|
|00005530| 72 72 65 63 74 06 00 31 | 0e 4c 69 73 74 42 6f 78 |rrect..1|.ListBox|
|00005540| 0f 03 4c 69 73 74 42 6f | 78 31 04 2e 69 6e 73 65 |..ListBo|x1..inse|
|00005550| 72 74 52 6f 77 28 32 2c | 22 4c 6f 69 73 22 29 20 |rtRow(2,|"Lois") |
|00005560| 2f 2f 63 6f 72 72 65 63 | 74 07 00 30 0e 4c 69 73 |//correc|t..0.Lis|
|00005570| 74 42 6f 78 0f 03 4c 69 | 73 74 42 6f 78 31 04 2e |tBox..Li|stBox1..|
|00005580| 69 6e 73 65 72 74 52 6f | 77 20 32 2c 22 4c 6f 69 |insertRo|w 2,"Loi|
|00005590| 73 22 20 2f 2f 63 6f 72 | 72 65 63 74 0d 00 1c d4 |s" //cor|rect....|
|000055a0| 78 78 78 d5 20 54 61 6b | 65 73 20 d4 79 79 79 d5 |xxx. Tak|es .yyy.|
|000055b0| 20 50 61 72 61 6d 65 74 | 65 72 73 0c 00 2f 45 72 | Paramet|ers../Er|
|000055c0| 72 6f 72 20 4d 65 73 73 | 61 67 65 73 3a d4 78 78 |ror Mess|ages:.xx|
|000055d0| 78 d5 20 74 61 6b 65 73 | 20 d4 4e d5 20 50 61 72 |x. takes| .N. Par|
|000055e0| 61 6d 65 74 65 72 73 20 | 65 72 72 6f 72 01 00 20 |ameters |error.. |
|000055f0| d4 78 78 78 d5 20 54 61 | 6b 65 73 20 d4 4e d5 20 |.xxx. Ta|kes .N. |
|00005600| 50 61 72 61 6d 65 74 65 | 72 73 20 45 72 72 6f 72 |Paramete|rs Error|
|00005610| 03 00 87 59 6f 75 20 70 | 61 73 73 65 64 20 61 6e |...You p|assed an|
|00005620| 20 69 6e 63 6f 72 72 65 | 63 74 20 6e 75 6d 62 65 | incorre|ct numbe|
|00005630| 72 20 6f 66 20 70 61 72 | 61 6d 65 74 65 72 73 20 |r of par|ameters |
|00005640| 74 6f 20 74 68 65 20 62 | 75 69 6c 74 2d 69 6e 20 |to the b|uilt-in |
|00005650| 6d 65 74 68 6f 64 20 6f | 72 20 66 75 6e 63 74 69 |method o|r functi|
|00005660| 6f 6e 20 d2 78 78 78 d3 | 2e 20 54 68 65 20 63 6f |on .xxx.|. The co|
|00005670| 72 72 65 63 74 20 6e 75 | 6d 62 65 72 20 6f 66 20 |rrect nu|mber of |
|00005680| 70 61 72 61 6d 65 74 65 | 72 73 20 74 6f 20 70 61 |paramete|rs to pa|
|00005690| 73 73 20 69 73 20 d2 4e | d3 2e 02 00 08 45 78 61 |ss is .N|.....Exa|
|000056a0| 6d 70 6c 65 73 06 00 1e | 0e 44 69 6d 0f 03 44 69 |mples...|.Dim..Di|
|000056b0| 6d 04 20 63 20 61 73 20 | 0e 43 6f 6c 6f 72 0f 03 |m. c as |.Color..|
|000056c0| 43 6f 6c 6f 72 04 06 00 | 38 63 3d 0e 52 47 42 0f |Color...|8c=.RGB.|
|000056d0| 03 52 47 42 04 28 31 30 | 30 2c 31 30 30 29 20 2f |.RGB.(10|0,100) /|
|000056e0| 2f 72 65 74 75 72 6e 73 | 20 d2 52 47 42 20 74 61 |/returns| .RGB ta|
|000056f0| 6b 65 73 20 33 20 70 61 | 72 61 6d 65 74 65 72 73 |kes 3 pa|rameters|
|00005700| d3 0c 00 32 45 72 72 6f | 72 20 4d 65 73 73 61 67 |...2Erro|r Messag|
|00005710| 65 73 3a d4 78 78 78 d5 | 20 54 61 6b 65 73 20 32 |es:.xxx.| Takes 2|
|00005720| 20 6f 72 20 33 20 50 61 | 72 61 6d 65 74 65 72 73 | or 3 Pa|rameters|
|00005730| 20 65 72 72 6f 72 0d 00 | 1d d4 78 78 78 d5 20 54 | error..|..xxx. T|
|00005740| 61 6b 65 73 20 32 20 6f | 72 20 33 20 50 61 72 61 |akes 2 o|r 3 Para|
|00005750| 6d 65 74 65 72 73 01 00 | 23 d4 78 78 78 d5 20 54 |meters..|#.xxx. T|
|00005760| 61 6b 65 73 20 32 20 6f | 72 20 33 20 50 61 72 61 |akes 2 o|r 3 Para|
|00005770| 6d 65 74 65 72 73 20 45 | 72 72 6f 72 03 00 93 59 |meters E|rror...Y|
|00005780| 6f 75 20 70 61 73 73 65 | 64 20 74 6f 6f 20 66 65 |ou passe|d too fe|
|00005790| 77 20 6f 72 20 74 6f 6f | 20 6d 61 6e 79 20 70 61 |w or too| many pa|
|000057a0| 72 61 6d 65 74 65 72 73 | 20 74 6f 20 61 20 62 75 |rameters| to a bu|
|000057b0| 69 6c 74 2d 69 6e 20 66 | 75 6e 63 74 69 6f 6e 20 |ilt-in f|unction |
|000057c0| 6f 72 20 6d 65 74 68 6f | 64 20 74 68 61 74 20 74 |or metho|d that t|
|000057d0| 61 6b 65 73 20 74 77 6f | 20 6d 61 6e 64 61 74 6f |akes two| mandato|
|000057e0| 72 79 20 70 61 72 61 6d | 65 74 65 72 73 20 61 6e |ry param|eters an|
|000057f0| 64 20 68 61 73 20 61 6e | 20 6f 70 74 69 6f 6e 61 |d has an| optiona|
|00005800| 6c 20 74 68 69 72 64 20 | 70 61 72 61 6d 65 74 65 |l third |paramete|
|00005810| 72 2e 02 00 07 45 78 61 | 6d 70 6c 65 03 00 c4 0e |r....Exa|mple....|
|00005820| 49 6e 53 74 72 0f 03 49 | 6e 53 74 72 04 20 72 65 |InStr..I|nStr. re|
|00005830| 71 75 69 72 65 73 20 74 | 77 6f 20 70 61 72 61 6d |quires t|wo param|
|00005840| 65 74 65 72 73 2c 20 74 | 68 65 20 73 74 72 69 6e |eters, t|he strin|
|00005850| 67 20 74 6f 20 73 65 61 | 72 63 68 20 61 6e 64 20 |g to sea|rch and |
|00005860| 74 68 65 20 73 65 61 72 | 63 68 20 73 74 72 69 6e |the sear|ch strin|
|00005870| 67 2e 20 4f 70 74 69 6f | 6e 61 6c 6c 79 2c 20 79 |g. Optio|nally, y|
|00005880| 6f 75 20 63 61 6e 20 70 | 61 73 73 20 74 68 65 20 |ou can p|ass the |
|00005890| 70 6f 73 69 74 69 6f 6e | 20 61 74 20 77 68 69 63 |position| at whic|
|000058a0| 68 20 74 6f 20 73 74 61 | 72 74 20 74 68 65 20 73 |h to sta|rt the s|
|000058b0| 65 61 72 63 68 2e 20 42 | 6f 74 68 20 65 78 61 6d |earch. B|oth exam|
|000058c0| 70 6c 65 73 20 72 65 74 | 75 72 6e 20 74 68 65 20 |ples ret|urn the |
|000058d0| 73 61 6d 65 20 65 72 72 | 6f 72 20 6d 65 73 73 61 |same err|or messa|
|000058e0| 67 65 2e 06 00 1b 0e 44 | 69 6d 0f 03 44 69 6d 04 |ge.....D|im..Dim.|
|000058f0| 20 66 69 72 73 74 20 41 | 73 20 49 6e 74 65 67 65 | first A|s Intege|
|00005900| 72 06 00 29 66 69 72 73 | 74 20 3d 20 0e 49 6e 53 |r..)firs|t = .InS|
|00005910| 74 72 0f 03 49 6e 53 74 | 72 04 28 22 54 68 69 73 |tr..InSt|r.("This|
|00005920| 20 69 73 20 61 20 74 65 | 73 74 22 29 20 07 00 37 | is a te|st") ..7|
|00005930| 66 69 72 73 74 20 3d 20 | 0e 49 6e 53 74 72 0f 03 |first = |.InStr..|
|00005940| 49 6e 53 74 72 04 28 34 | 2c 20 22 54 68 69 73 20 |InStr.(4|, "This |
|00005950| 69 73 20 61 20 74 65 73 | 74 22 2c 22 69 73 22 2c |is a tes|t","is",|
|00005960| 22 6e 6f 74 22 29 20 0d | 00 03 41 62 73 0c 00 18 |"not") .|..Abs...|
|00005970| 4d 61 74 68 3a 41 62 73 | 28 76 61 6c 75 65 29 20 |Math:Abs|(value) |
|00005980| 2d 3e 44 6f 75 62 6c 65 | 01 00 0c 41 62 73 20 46 |->Double|...Abs F|
|00005990| 75 6e 63 74 69 6f 6e 03 | 00 33 52 65 74 75 72 6e |unction.|.3Return|
|000059a0| 73 20 74 68 65 20 61 62 | 73 6f 6c 75 74 65 20 76 |s the ab|solute v|
|000059b0| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 6e 75 6d 62 |alue of |the numb|
|000059c0| 65 72 20 73 70 65 63 69 | 66 69 65 64 2e 02 00 06 |er speci|fied....|
|000059d0| 53 79 6e 74 61 78 03 00 | 13 72 65 73 75 6c 74 3d |Syntax..|.result=|
|000059e0| 01 41 62 73 02 28 76 61 | 6c 75 65 29 04 00 04 50 |.Abs.(va|lue)...P|
|000059f0| 61 72 74 00 04 54 79 70 | 65 00 0b 44 65 73 63 72 |art..Typ|e..Descr|
|00005a00| 69 70 74 69 6f 6e ff 05 | 00 05 76 61 6c 75 65 00 |iption..|..value.|
|00005a10| 06 44 6f 75 62 6c 65 00 | 2a 54 68 65 20 6e 75 6d |.Double.|*The num|
|00005a20| 62 65 72 20 79 6f 75 20 | 77 69 73 68 20 74 68 65 |ber you |wish the|
|00005a30| 20 61 62 73 6f 6c 75 74 | 65 20 76 61 6c 75 65 20 | absolut|e value |
|00005a40| 6f 66 2e ff 05 00 06 72 | 65 73 75 6c 74 00 06 44 |of.....r|esult..D|
|00005a50| 6f 75 62 6c 65 00 1c 54 | 68 65 20 61 62 73 6f 6c |ouble..T|he absol|
|00005a60| 75 74 65 20 76 61 6c 75 | 65 20 6f 66 20 76 61 6c |ute valu|e of val|
|00005a70| 75 65 2e ff 02 00 05 4e | 6f 74 65 73 03 00 4a 54 |ue.....N|otes..JT|
|00005a80| 68 65 20 01 41 62 73 02 | 20 66 75 6e 63 74 69 6f |he .Abs.| functio|
|00005a90| 6e 20 72 65 74 75 72 6e | 73 20 74 68 65 20 70 6f |n return|s the po|
|00005aa0| 73 69 74 69 76 65 20 65 | 71 75 69 76 61 6c 65 6e |sitive e|quivalen|
|00005ab0| 74 20 6f 66 20 74 68 65 | 20 76 61 6c 75 65 20 73 |t of the| value s|
|00005ac0| 70 65 63 69 66 69 65 64 | 2e 02 00 08 45 78 61 6d |pecified|....Exam|
|00005ad0| 70 6c 65 73 03 00 5d 54 | 68 65 73 65 20 65 78 61 |ples..]T|hese exa|
|00005ae0| 6d 70 6c 65 73 20 75 73 | 65 20 74 68 65 20 01 41 |mples us|e the .A|
|00005af0| 62 73 02 20 66 75 6e 63 | 74 69 6f 6e 20 74 6f 20 |bs. func|tion to |
|00005b00| 72 65 74 75 72 6e 20 74 | 68 65 20 61 62 73 6f 6c |return t|he absol|
|00005b10| 75 74 65 20 76 61 6c 75 | 65 73 20 6f 66 20 74 68 |ute valu|es of th|
|00005b20| 65 20 6e 75 6d 62 65 72 | 73 20 73 70 65 63 69 66 |e number|s specif|
|00005b30| 69 65 64 2e 06 00 16 0e | 44 69 6d 0f 03 44 69 6d |ied.....|Dim..Dim|
|00005b40| 04 20 64 20 61 73 20 44 | 6f 75 62 6c 65 06 00 1d |. d as D|ouble...|
|00005b50| 64 3d 01 41 62 73 02 28 | 32 33 2e 39 29 20 20 2f |d=.Abs.(|23.9) /|
|00005b60| 2f 72 65 74 75 72 6e 73 | 20 32 33 2e 39 06 00 1d |/returns| 23.9...|
|00005b70| 64 3d 01 41 62 73 02 28 | 2d 32 33 2e 39 29 20 2f |d=.Abs.(|-23.9) /|
|00005b80| 2f 72 65 74 75 72 6e 73 | 20 32 33 2e 39 0d 00 04 |/returns| 23.9...|
|00005b90| 41 63 6f 73 0c 00 19 4d | 61 74 68 3a 41 63 6f 73 |Acos...M|ath:Acos|
|00005ba0| 28 76 61 6c 75 65 29 2d | 3e 20 44 6f 75 62 6c 65 |(value)-|> Double|
|00005bb0| 01 00 0d 41 63 6f 73 20 | 46 75 6e 63 74 69 6f 6e |...Acos |Function|
|00005bc0| 03 00 2e 52 65 74 75 72 | 6e 73 20 74 68 65 20 61 |...Retur|ns the a|
|00005bd0| 72 63 20 63 6f 73 69 6e | 65 20 6f 66 20 74 68 65 |rc cosin|e of the|
|00005be0| 20 76 61 6c 75 65 20 73 | 70 65 63 69 66 69 65 64 | value s|pecified|
|00005bf0| 2e 02 00 06 53 79 6e 74 | 61 78 03 00 14 72 65 73 |....Synt|ax...res|
|00005c00| 75 6c 74 3d 01 41 63 6f | 73 02 28 76 61 6c 75 65 |ult=.Aco|s.(value|
|00005c10| 29 04 00 04 50 61 72 74 | 00 04 54 79 70 65 00 0b |)...Part|..Type..|
|00005c20| 44 65 73 63 72 69 70 74 | 69 6f 6e ff 05 00 06 72 |Descript|ion....r|
|00005c30| 65 73 75 6c 74 00 06 44 | 6f 75 62 6c 65 00 18 54 |esult..D|ouble..T|
|00005c40| 68 65 20 61 72 63 20 63 | 6f 73 69 6e 65 20 6f 66 |he arc c|osine of|
|00005c50| 20 76 61 6c 75 65 2e ff | 05 00 05 76 61 6c 75 65 | value..|...value|
|00005c60| 00 06 44 6f 75 62 6c 65 | 00 25 54 68 65 20 76 61 |..Double|.%The va|
|00005c70| 6c 75 65 20 79 6f 75 20 | 77 61 6e 74 20 74 68 65 |lue you |want the|
|00005c80| 20 61 72 63 20 63 6f 73 | 69 6e 65 20 6f 66 2e ff | arc cos|ine of..|
|00005c90| 02 00 05 4e 6f 74 65 73 | 03 00 4e 54 68 65 20 01 |...Notes|..NThe .|
|00005ca0| 41 63 6f 73 02 20 66 75 | 6e 63 74 69 6f 6e 20 72 |Acos. fu|nction r|
|00005cb0| 65 74 75 72 6e 73 20 74 | 68 65 20 61 6e 67 6c 65 |eturns t|he angle|
|00005cc0| 20 28 69 6e 20 72 61 64 | 69 61 6e 73 29 20 6f 66 | (in rad|ians) of|
|00005cd0| 20 74 68 65 20 63 6f 73 | 69 6e 65 20 70 61 73 73 | the cos|ine pass|
|00005ce0| 65 64 20 74 6f 20 69 74 | 2e 02 00 08 45 78 61 6d |ed to it|....Exam|
|00005cf0| 70 6c 65 73 03 00 4b 54 | 68 69 73 20 65 78 61 6d |ples..KT|his exam|
|00005d00| 70 6c 65 20 75 73 65 73 | 20 74 68 65 20 01 41 63 |ple uses| the .Ac|
|00005d10| 6f 73 02 20 66 75 6e 63 | 74 69 6f 6e 20 74 6f 20 |os. func|tion to |
|00005d20| 72 65 74 75 72 6e 20 74 | 68 65 20 61 72 63 20 63 |return t|he arc c|
|00005d30| 6f 73 69 6e 65 20 6f 66 | 20 61 20 6e 75 6d 62 65 |osine of| a numbe|
|00005d40| 72 2e 06 00 16 0e 44 69 | 6d 0f 03 44 69 6d 04 20 |r.....Di|m..Dim. |
|00005d50| 64 20 61 73 20 44 6f 75 | 62 6c 65 06 00 20 64 3d |d as Dou|ble.. d=|
|00005d60| 01 41 63 6f 73 02 28 2e | 35 29 20 2f 2f 72 65 74 |.Acos.(.|5) //ret|
|00005d70| 75 72 6e 73 20 31 2e 30 | 34 37 31 39 37 36 02 00 |urns 1.0|471976..|
|00005d80| 08 53 65 65 20 41 6c 73 | 6f 03 00 14 0e 43 6f 73 |.See Als|o....Cos|
|00005d90| 0f 03 43 6f 73 04 20 66 | 75 6e 63 74 69 6f 6e 2e |..Cos. f|unction.|
|00005da0| 0d 00 03 41 6e 64 0c 00 | 0d 4f 70 65 72 61 74 6f |...And..|.Operato|
|00005db0| 72 73 3a 41 6e 64 0c 00 | 22 4f 70 65 72 61 74 6f |rs:And..|"Operato|
|00005dc0| 72 73 3a 41 6e 64 3b 42 | 6f 6f 6c 65 61 6e 3a 41 |rs:And;B|oolean:A|
|00005dd0| 6e 64 20 4f 70 65 72 61 | 74 6f 72 01 00 0c 41 6e |nd Opera|tor...An|
|00005de0| 64 20 4f 70 65 72 61 74 | 6f 72 03 00 40 55 73 65 |d Operat|or..@Use|
|00005df0| 64 20 74 6f 20 70 65 72 | 66 6f 72 6d 20 61 20 6c |d to per|form a l|
|00005e00| 6f 67 69 63 61 6c 20 63 | 6f 6d 70 61 72 69 73 6f |ogical c|ompariso|
|00005e10| 6e 20 6f 66 20 74 77 6f | 20 62 6f 6f 6c 65 61 6e |n of two| boolean|
|00005e20| 20 65 78 70 72 65 73 73 | 69 6f 6e 73 2e 02 00 06 | express|ions....|
|00005e30| 53 79 6e 74 61 78 03 00 | 24 72 65 73 75 6c 74 3d |Syntax..|$result=|
|00005e40| 65 78 70 72 65 73 73 69 | 6f 6e 31 20 01 41 6e 64 |expressi|on1 .And|
|00005e50| 02 20 65 78 70 72 65 73 | 73 69 6f 6e 32 04 00 04 |. expres|sion2...|
|00005e60| 50 61 72 74 00 0b 44 65 | 73 63 72 69 70 74 69 6f |Part..De|scriptio|
|00005e70| 6e ff 05 00 06 72 65 73 | 75 6c 74 00 10 41 20 62 |n....res|ult..A b|
|00005e80| 6f 6f 6c 65 61 6e 20 76 | 61 6c 75 65 2e ff 05 00 |oolean v|alue....|
|00005e90| 0b 65 78 70 72 65 73 73 | 69 6f 6e 31 00 1d 41 6e |.express|ion1..An|
|00005ea0| 79 20 76 61 6c 69 64 20 | 62 6f 6f 6c 65 61 6e 20 |y valid |boolean |
|00005eb0| 65 78 70 72 65 73 73 69 | 6f 6e 2e ff 05 00 0b 65 |expressi|on.....e|
|00005ec0| 78 70 72 65 73 73 69 6f | 6e 32 00 1d 41 6e 79 20 |xpressio|n2..Any |
|00005ed0| 76 61 6c 69 64 20 62 6f | 6f 6c 65 61 6e 20 65 78 |valid bo|olean ex|
|00005ee0| 70 72 65 73 73 69 6f 6e | 2e ff 02 00 05 4e 6f 74 |pression|.....Not|
|00005ef0| 65 73 03 00 9a 49 66 20 | 62 6f 74 68 20 65 78 70 |es...If |both exp|
|00005f00| 72 65 73 73 69 6f 6e 73 | 20 65 76 61 6c 75 61 74 |ressions| evaluat|
|00005f10| 65 20 74 6f 20 0e 54 72 | 75 65 0f 03 54 72 75 65 |e to .Tr|ue..True|
|00005f20| 04 2c 20 74 68 65 6e 20 | 72 65 73 75 6c 74 20 69 |., then |result i|
|00005f30| 73 20 0e 54 72 75 65 0f | 03 54 72 75 65 04 2e 20 |s .True.|.True.. |
|00005f40| 49 66 20 65 69 74 68 65 | 72 20 65 78 70 72 65 73 |If eithe|r expres|
|00005f50| 73 69 6f 6e 20 65 76 61 | 6c 75 61 74 65 73 20 74 |sion eva|luates t|
|00005f60| 6f 20 0e 46 61 6c 73 65 | 0f 03 46 61 6c 73 65 04 |o .False|..False.|
|00005f70| 20 74 68 65 6e 20 72 65 | 73 75 6c 74 20 69 73 20 | then re|sult is |
|00005f80| 0e 46 61 6c 73 65 0f 03 | 46 61 6c 73 65 04 2e 02 |.False..|False...|
|00005f90| 00 07 45 78 61 6d 70 6c | 65 03 00 44 54 68 69 73 |..Exampl|e..DThis|
|00005fa0| 20 65 78 61 6d 70 6c 65 | 20 75 73 65 73 20 74 68 | example| uses th|
|00005fb0| 65 20 01 41 6e 64 02 20 | 6f 70 65 72 61 74 6f 72 |e .And. |operator|
|00005fc0| 20 74 6f 20 70 65 72 66 | 6f 72 6d 20 6c 6f 67 69 | to perf|orm logi|
|00005fd0| 63 61 6c 20 63 6f 6d 70 | 61 72 69 73 6f 6e 73 2e |cal comp|arisons.|
|00005fe0| 06 00 17 0e 44 69 6d 0f | 03 44 69 6d 04 20 61 20 |....Dim.|.Dim. a |
|00005ff0| 41 73 20 42 6f 6f 6c 65 | 61 6e 06 00 17 0e 44 69 |As Boole|an....Di|
|00006000| 6d 0f 03 44 69 6d 04 20 | 62 20 41 73 20 42 6f 6f |m..Dim. |b As Boo|
|00006010| 6c 65 61 6e 06 00 17 0e | 44 69 6d 0f 03 44 69 6d |lean....|Dim..Dim|
|00006020| 04 20 63 20 41 73 20 42 | 6f 6f 6c 65 61 6e 06 00 |. c As B|oolean..|
|00006030| 17 0e 44 69 6d 0f 03 44 | 69 6d 04 20 64 20 41 73 |..Dim..D|im. d As|
|00006040| 20 42 6f 6f 6c 65 61 6e | 06 00 0e 61 3d 0e 54 72 | Boolean|...a=.Tr|
|00006050| 75 65 0f 03 54 72 75 65 | 04 06 00 0e 62 3d 0e 54 |ue..True|....b=.T|
|00006060| 72 75 65 0f 03 54 72 75 | 65 04 06 00 22 64 3d 61 |rue..Tru|e..."d=a|
|00006070| 20 01 41 6e 64 02 20 62 | 20 2f 2f 52 65 74 75 72 | .And. b| //Retur|
|00006080| 6e 73 20 0e 54 72 75 65 | 0f 03 54 72 75 65 04 07 |ns .True|..True..|
|00006090| 00 24 64 3d 61 20 01 41 | 6e 64 02 20 63 20 2f 2f |.$d=a .A|nd. c //|
|000060a0| 52 65 74 75 72 6e 73 20 | 0e 46 61 6c 73 65 0f 03 |Returns |.False..|
|000060b0| 46 61 6c 73 65 04 02 00 | 08 53 65 65 20 41 6c 73 |False...|.See Als|
|000060c0| 6f 03 00 1f 0e 4e 6f 74 | 0f 03 4e 6f 74 04 2c 20 |o....Not|..Not., |
|000060d0| 0e 4f 72 0f 03 4f 72 04 | 20 6f 70 65 72 61 74 6f |.Or..Or.| operato|
|000060e0| 72 73 2e 0d 00 03 41 70 | 70 0c 00 0b 4f 62 6a 65 |rs....Ap|p...Obje|
|000060f0| 63 74 73 3a 41 70 70 01 | 00 0a 41 70 70 20 4f 62 |cts:App.|..App Ob|
|00006100| 6a 65 63 74 03 00 5e 41 | 6e 20 69 6e 74 72 69 6e |ject..^A|n intrin|
|00006110| 73 69 63 20 69 6e 73 74 | 61 6e 63 65 20 6f 66 20 |sic inst|ance of |
|00006120| 74 68 65 20 0e 41 70 70 | 6c 69 63 61 74 69 6f 6e |the .App|lication|
|00006130| 0f 03 41 70 70 6c 69 63 | 61 74 69 6f 6e 04 20 63 |..Applic|ation. c|
|00006140| 6c 61 73 73 20 74 68 61 | 74 20 72 65 70 72 65 73 |lass tha|t repres|
|00006150| 65 6e 74 73 20 74 68 65 | 20 61 70 70 6c 69 63 61 |ents the| applica|
|00006160| 74 69 6f 6e 2e 02 00 06 | 53 79 6e 74 61 78 03 00 |tion....|Syntax..|
|00006170| 14 01 41 70 70 02 2e 70 | 72 6f 70 65 72 74 79 3d |..App..p|roperty=|
|00006180| 76 61 6c 75 65 03 00 0c | 01 41 70 70 02 2e 6d 65 |value...|.App..me|
|00006190| 74 68 6f 64 02 00 05 4e | 6f 74 65 73 03 01 9b 54 |thod...N|otes...T|
|000061a0| 68 65 20 01 41 70 70 02 | 20 6f 62 6a 65 63 74 20 |he .App.| object |
|000061b0| 72 65 70 72 65 73 65 6e | 74 73 20 74 68 65 20 61 |represen|ts the a|
|000061c0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 69 74 73 65 6c |pplicati|on itsel|
|000061d0| 66 20 28 61 73 20 6f 70 | 70 6f 73 65 64 20 74 6f |f (as op|posed to|
|000061e0| 20 61 20 77 69 6e 64 6f | 77 20 6f 72 20 63 6f 6e | a windo|w or con|
|000061f0| 74 72 6f 6c 29 2e 20 54 | 68 69 73 20 61 6c 6c 6f |trol). T|his allo|
|00006200| 77 73 20 79 6f 75 20 61 | 63 63 65 73 73 20 74 6f |ws you a|ccess to|
|00006210| 20 74 68 65 20 0e 41 70 | 70 6c 69 63 61 74 69 6f | the .Ap|plicatio|
|00006220| 6e 0f 03 41 70 70 6c 69 | 63 61 74 69 6f 6e 04 20 |n..Appli|cation. |
|00006230| 6f 62 6a 65 63 74 d5 73 | 20 70 72 6f 70 65 72 74 |object.s| propert|
|00006240| 69 65 73 2c 20 65 76 65 | 6e 74 73 2c 20 61 6e 64 |ies, eve|nts, and|
|00006250| 20 6d 65 74 68 6f 64 73 | 20 77 69 74 68 6f 75 74 | methods| without|
|00006260| 20 68 61 76 69 6e 67 20 | 74 6f 20 65 78 70 6c 69 | having |to expli|
|00006270| 63 69 74 6c 79 20 73 74 | 6f 72 65 20 61 20 72 65 |citly st|ore a re|
|00006280| 66 65 72 65 6e 63 65 20 | 74 6f 20 69 74 2e 20 49 |ference |to it. I|
|00006290| 66 20 79 6f 75 20 68 61 | 76 65 20 63 72 65 61 74 |f you ha|ve creat|
|000062a0| 65 64 20 61 20 63 6c 61 | 73 73 20 74 68 61 74 20 |ed a cla|ss that |
|000062b0| 69 73 20 61 20 73 75 62 | 63 6c 61 73 73 20 6f 66 |is a sub|class of|
|000062c0| 20 74 79 70 65 20 0e 41 | 70 70 6c 69 63 61 74 69 | type .A|pplicati|
|000062d0| 6f 6e 0f 03 41 70 70 6c | 69 63 61 74 69 6f 6e 04 |on..Appl|ication.|
|000062e0| 2c 20 61 6e 64 20 79 6f | 75 20 6e 61 6d 65 20 74 |, and yo|u name t|
|000062f0| 68 65 20 73 75 62 63 6c | 61 73 73 20 d2 41 70 70 |he subcl|ass .App|
|00006300| d3 2c 20 74 68 65 20 01 | 41 70 70 02 20 6f 62 6a |., the .|App. obj|
|00006310| 65 63 74 20 77 69 6c 6c | 20 72 65 74 75 72 6e 20 |ect will| return |
|00006320| 61 20 72 65 66 65 72 65 | 6e 63 65 20 74 6f 20 74 |a refere|nce to t|
|00006330| 68 61 74 20 63 6c 61 73 | 73 2e 02 00 08 45 78 61 |hat clas|s....Exa|
|00006340| 6d 70 6c 65 73 03 00 61 | 54 68 69 73 20 65 78 61 |mples..a|This exa|
|00006350| 6d 70 6c 65 20 63 68 61 | 6e 67 65 73 20 74 68 65 |mple cha|nges the|
|00006360| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e d5 73 20 0e | applica|tion.s .|
|00006370| 41 70 70 6c 69 63 61 74 | 69 6f 6e 2e 4d 6f 75 73 |Applicat|ion.Mous|
|00006380| 65 43 75 72 73 6f 72 0f | 03 4d 6f 75 73 65 43 75 |eCursor.|.MouseCu|
|00006390| 72 73 6f 72 04 20 74 6f | 20 74 68 65 20 57 61 74 |rsor. to| the Wat|
|000063a0| 63 68 43 75 72 73 6f 72 | 3a 07 00 1b 41 70 70 2e |chCursor|:...App.|
|000063b0| 4d 6f 75 73 65 43 75 72 | 73 6f 72 3d 57 61 74 63 |MouseCur|sor=Watc|
|000063c0| 68 43 75 72 73 6f 72 03 | 00 33 54 68 69 73 20 65 |hCursor.|.3This e|
|000063d0| 78 61 6d 70 6c 65 20 6f | 70 65 6e 73 20 74 68 65 |xample o|pens the|
|000063e0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e d5 73 20 72 | applica|tion.s r|
|000063f0| 65 73 6f 75 72 63 65 20 | 66 6f 72 6b 3a 06 00 2d |esource |fork:..-|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.